@univerjsdesigninterfacesIcheckboxgroupprops

@univerjs/design v0.5.0-beta.1Docs


Interface: ICheckboxGroupProps

Properties

PropertyTypeDescriptionDefined in
childrenReactNode[]-submodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:24
className?stringThe class name of the checkbox groupsubmodules/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?booleanWhether the checkbox is disabled Default falsesubmodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:45
onChange(value: (string | number | boolean)[]) => voidThe callback function triggered when switching optionssubmodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:56
style?CSSPropertiesThe style of the checkbox groupsubmodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:34
value(string | number | boolean)[]Define which checkbox is selectedsubmodules/univer/packages/design/src/components/checkbox-group/CheckboxGroup.tsx:39