first commit
This commit is contained in:
18
src/components/common/Button.jsx
Normal file
18
src/components/common/Button.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user