|
@ -20,7 +20,7 @@ Radio. |
|
|
| checked | Specifies whether the radio is selected. | boolean | | false | |
|
|
| checked | Specifies whether the radio is selected. | boolean | | false | |
|
|
| defaultChecked | Specifies the initial state: whether or not the radio is selected. | boolean | | false | |
|
|
| defaultChecked | Specifies the initial state: whether or not the radio is selected. | boolean | | false | |
|
|
| value | According to value for comparison, to determine whether the selected | any | | none | |
|
|
| value | According to value for comparison, to determine whether the selected | any | | none | |
|
|
|
|
|
| disabled | Disable radio | boolean | | false | |
|
|
### RadioGroup |
|
|
### RadioGroup |
|
|
|
|
|
|
|
|
radio group,wrap a group of `Radio`。 |
|
|
radio group,wrap a group of `Radio`。 |
|
@ -32,3 +32,4 @@ radio group,wrap a group of `Radio`。 |
|
|
| defaultValue | Default selected value | any | none | none | |
|
|
| defaultValue | Default selected value | any | none | none | |
|
|
| size | Size, only on radio style | string | `large` `default` `small` | `default` | |
|
|
| size | Size, only on radio style | string | `large` `default` `small` | `default` | |
|
|
| options | set children optional | string[] \| Array<{ label: string value: string disabled?: boolean }> | 无 | 无 | |
|
|
| options | set children optional | string[] \| Array<{ label: string value: string disabled?: boolean }> | 无 | 无 | |
|
|
|
|
|
| disabled | Disable all radio buttons | boolean | | false | |