diff --git a/components/button.tsx b/components/button.tsx index 0cdab07..d4d3fba 100644 --- a/components/button.tsx +++ b/components/button.tsx @@ -1,4 +1,4 @@ -const Button = ({ children, loading = false, ...rest }) => { +const Button = ({ children, loading = false, ...rest }: React.ButtonHTMLAttributes & { loading?: boolean }) => { return (); } -export default Button; \ No newline at end of file +export default Button;