From fff483364f15ecaa9eeed8460db24e41acffee71 Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 12 Jun 2026 12:13:45 +0200 Subject: [PATCH] [UIK-5281][checkbox] fix typings for Value compound component --- semcore/checkbox/src/Checkbox.type.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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[]; };