Skip to content

Commit

Permalink
Merge pull request #6597 from supra28/master
Browse files Browse the repository at this point in the history
Update docs for checkbox and radio
  • Loading branch information
afc163 committed Jun 23, 2017
2 parents 7151a4e + c7c3625 commit a4bf6cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/checkbox/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Checkbox.
| checked | Specifies whether the checkbox is selected. | boolean | false |
| defaultChecked | Specifies the initial state: whether or not the checkbox is selected. | boolean | false |
| onChange | The callback function that is triggered when the state changes. | Function(e:Event) | - |
| disabled | Disable checkbox | boolean | | false|

### Checkbox Group

Expand All @@ -29,3 +30,4 @@ Checkbox.
| value | Used for setting the currently selected value. | string[] | [] |
| options | Specifies options | string[] | [] |
| onChange | The callback function that is triggered when the state changes. | Function(checkedValue) | - |
| disabled | Disable all checkboxes | boolean | | false |
3 changes: 2 additions & 1 deletion components/radio/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Radio.
| checked | Specifies whether 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 |

| disabled | Disable radio | boolean | | false |
### RadioGroup

radio group,wrap a group of `Radio`
Expand All @@ -32,3 +32,4 @@ radio group,wrap a group of `Radio`。
| defaultValue | Default selected value | any | none | none |
| size | Size, only on radio style | string | `large` `default` `small` | `default` |
| options | set children optional | string[] \| Array<{ label: string value: string disabled?: boolean }> |||
| disabled | Disable all radio buttons | boolean | | false |

0 comments on commit a4bf6cd

Please sign in to comment.