From 49e9514f38efa69ff3b3e7e0ea749f68046d2ce5 Mon Sep 17 00:00:00 2001 From: RobVermeer Date: Mon, 4 Sep 2023 16:00:02 +0200 Subject: [PATCH] fix(checkbox): fix the ceckbox event type --- src/components/Checkbox/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Checkbox/index.tsx b/src/components/Checkbox/index.tsx index aedd460d..79188f79 100644 --- a/src/components/Checkbox/index.tsx +++ b/src/components/Checkbox/index.tsx @@ -93,7 +93,7 @@ export interface CheckboxProps { id: string className?: string defaultOn?: boolean - onChange?: (event: React.ChangeEvent) => void + onChange?: (event: React.ChangeEvent) => void label: string | ReactNode hideLabel?: boolean help?: string