Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 4e28f63

Browse files
committed
fix(checkbox): fix the ceckbox event type
1 parent f2b86e7 commit 4e28f63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Checkbox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface CheckboxProps {
9393
id: string
9494
className?: string
9595
defaultOn?: boolean
96-
onChange?: (event: React.ChangeEvent<HTMLElement>) => void
96+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void
9797
label: string | ReactNode
9898
hideLabel?: boolean
9999
help?: string

0 commit comments

Comments
 (0)