diff --git a/semcore/checkbox/src/Checkbox.type.ts b/semcore/checkbox/src/Checkbox.type.ts index 81a46cdf4a..fd937a8f39 100644 --- a/semcore/checkbox/src/Checkbox.type.ts +++ b/semcore/checkbox/src/Checkbox.type.ts @@ -47,7 +47,10 @@ declare namespace NSCheckbox { type Handlers = { checked: (e: React.ChangeEvent) => boolean; }; - type Props = FlexProps; + type Props = FlexProps & { + /** Callback when the value changes */ + onChange?: (checked: boolean, e?: React.SyntheticEvent) => void; + }; type InnerProps = { includeInputProps: string[]; };