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


Interface: IRadioGroupProps

Properties

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