Skip to content

Commit

Permalink
docs: add 'disabled' option to RadioGroup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Roc authored and yinkaihui committed Apr 26, 2024
1 parent 88f8bb7 commit 41c43c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/Radio/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ In a set of related and mutually exclusive data, the user can only select one op
|Property|Description|Type|DefaultValue|
|---|---|---|---|
|name|`Radio`'s name attr|string |`-`|
|disabled|Whether to disable all radios in the group|boolean |`-`|
|direction|Arrangement direction|'vertical' \| 'horizontal' |`horizontal`|
|size|The size of radio button style(Only effective under `button` type)|'small' \| 'default' \| 'large' \| 'mini' |`-`|
|type|type of `Radio`|'radio' \| 'button' |`radio`|
Expand Down
1 change: 1 addition & 0 deletions components/Radio/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
|参数名|描述|类型|默认值|
|---|---|---|---|
|name|`Radio` 的 name|string |`-`|
|disabled|禁用所有子单选器|boolean |`-`|
|direction|方向|'vertical' \| 'horizontal' |`horizontal`|
|size|按钮类型的单选框尺寸(只在按钮类型下生效)|'small' \| 'default' \| 'large' \| 'mini' |`-`|
|type|单选的类型,是单选还是按钮|'radio' \| 'button' |`radio`|
Expand Down

0 comments on commit 41c43c0

Please sign in to comment.