19 lines
375 B
JavaScript
19 lines
375 B
JavaScript
const Button = ({ children, className = "", ...props }) => {
|
|
return (
|
|
<button
|
|
{...props}
|
|
className={`
|
|
px-6 py-3 rounded-xl text-sm font-medium
|
|
bg-primary-default text-white
|
|
hover:bg-primary-light
|
|
transition active:scale-95
|
|
${className}
|
|
`}
|
|
>
|
|
{children}
|
|
</button>
|
|
);
|
|
};
|
|
|
|
export default Button;
|