diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx index 0b5303e..9663921 100644 --- a/src/components/ui/Button.tsx +++ b/src/components/ui/Button.tsx @@ -11,10 +11,15 @@ const button = tv({ }, }); -const Button: FunctionComponent<{ onClick: () => void }> = (props) => { +interface ButtonProps { + color?: "primary" | "secondary"; + onClick: () => void; +} + +const Button: FunctionComponent = ({ children, onClick, color = "primary" }) => { return ( - ); };