From d07e447934fdb21a3007d16ec80bab59df4d5d39 Mon Sep 17 00:00:00 2001 From: v0 Date: Fri, 6 Feb 2026 07:31:07 +0000 Subject: [PATCH] fix: add proper types to Button component Resolve type errors caused by stricter React typing after dependency update. Co-authored-by: Thomas Ruoff <111471+tomru@users.noreply.github.com> --- components/button.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;