RadioGroupProps interface
单选组组件:一组互斥的单选选项
Signature
typescript
interface RadioGroupProps1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) Option gap (pixels) | ||
Option list (required) | |||
boolean | (Optional) Whether to arrange in line breaks | ||
(value: string) => void | (Optional) 选中值变化时触发,参数为选中项的值 | ||
boolean | (Optional) Whether the state can only be changed by clicking the radio button itself | ||
string | (Optional) Currently selected value |