Radio
Single-select: choose one option from many.
Examples
API
RadioGroup
RadioGroup props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
color | Color when selected | string | - |
RadioGroup events
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
change | Fired when the selected value changes | { value: string } | - |
Radio
Radio props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
value | Option value | string | - |
checked | Whether selected | boolean | false |
disabled | Whether disabled | boolean | false |
color | Color when selected | string | - |