@univerjs/design v0.5.0-beta.1 • Docs
Interface: ICheckboxGroupProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
children | ReactNode [] | - | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:24 |
className? | string | The class name of the checkbox group | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:29 |
direction? | "horizontal" | "vertical" | Direction of the radio group Default 'horizontal' | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:51 |
disabled? | boolean | Whether the checkbox is disabled Default false | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:45 |
onChange | (value : (string | number | boolean )[]) => void | The callback function triggered when switching options | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:56 |
style? | CSSProperties | The style of the checkbox group | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:34 |
value | (string | number | boolean )[] | Define which checkbox is selected | submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:39 |