diff --git a/src/components/ui/button/button.jsx b/src/components/ui/button/button.jsx index 5ff769c..0fc74ab 100644 --- a/src/components/ui/button/button.jsx +++ b/src/components/ui/button/button.jsx @@ -1,6 +1,6 @@ import styles from "./button.module.css"; -const Button = ({ children, variant = "primary", onClick }) => { +const Button = ({ children, variant = "primary", onClick, className }) => { let btnStyle; if (variant === "primary") btnStyle = styles.primary; @@ -8,7 +8,7 @@ const Button = ({ children, variant = "primary", onClick }) => { else if(variant === "transparent") btnStyle = styles.transparent; else btnStyle = styles.default; - return
+ return
{children}
; };