From 41c43c08607950abc2c8bbd753c497be32d522b0 Mon Sep 17 00:00:00 2001 From: lixuepeng <18365206692@163.com> Date: Thu, 25 Apr 2024 20:38:26 +0800 Subject: [PATCH] docs: add 'disabled' option to RadioGroup docs --- components/Radio/README.en-US.md | 1 + components/Radio/README.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/Radio/README.en-US.md b/components/Radio/README.en-US.md index f8480b0185..e024f2c26b 100644 --- a/components/Radio/README.en-US.md +++ b/components/Radio/README.en-US.md @@ -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`| diff --git a/components/Radio/README.zh-CN.md b/components/Radio/README.zh-CN.md index 6376237a3b..bf74de1c14 100644 --- a/components/Radio/README.zh-CN.md +++ b/components/Radio/README.zh-CN.md @@ -27,6 +27,7 @@ |参数名|描述|类型|默认值| |---|---|---|---| |name|`Radio` 的 name|string |`-`| +|disabled|禁用所有子单选器|boolean |`-`| |direction|方向|'vertical' \| 'horizontal' |`horizontal`| |size|按钮类型的单选框尺寸(只在按钮类型下生效)|'small' \| 'default' \| 'large' \| 'mini' |`-`| |type|单选的类型,是单选还是按钮|'radio' \| 'button' |`radio`|