@univerjs/design v0.5.0-beta.1 • Docs
Interface: IRadioProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
checked? | boolean | Used for setting the currently selected value Default false | submodules/univer/packages/design/src/components/radio/Radio.tsx:29 |
children? | ReactNode | - | submodules/univer/packages/design/src/components/radio/Radio.tsx:23 |
disabled? | boolean | Specifies whether the radio is disabled Default false | submodules/univer/packages/design/src/components/radio/Radio.tsx:40 |
onChange? | (value : string | number | boolean ) => void | Set the handler to handle click event | submodules/univer/packages/design/src/components/radio/Radio.tsx:45 |
value? | string | number | boolean | Used for setting the currently selected value | submodules/univer/packages/design/src/components/radio/Radio.tsx:34 |