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