@univerjs/design v0.5.0-beta.1 • Docs
Interface: ICheckboxProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
checked? | boolean | Used for setting the currently selected value Default false | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:39 |
children? | ReactNode | - | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:23 |
className? | string | The class name of the checkbox group | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:28 |
contentClassName? | string | - | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:64 |
disabled? | boolean | Specifies whether the checkbox is disabled Default false | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:57 |
indeterminate? | boolean | Used for setting the checkbox to indeterminate Default false | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:45 |
onChange? | (value : string | number | boolean ) => void | Set the handler to handle click event | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:62 |
style? | CSSProperties | The style of the checkbox group | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:33 |
value? | string | number | boolean | Used for setting the currently selected value Only used when the checkbox is in a group | submodules/univer/packages/design/src/components/checkbox/Checkbox.tsx:51 |