产品动态
产品公告
<RadioGroupname="gender"options={[{ label: "男", value: "male" },{ label: "女", value: "female" },{ label: "其他", value: "other" }]}/>


属性名 | 类型 | 描述 | 默认值 |
name ★ | string | 表单字段名称 | - |
options | RadioOption[] | 选项列表 | - |
defaultValue | string | 默认选中值 | - |
direction | "row" | "col" | 布局方向 | "col" |
onChangeAction | ActionConfig | 值变化时触发的动作 | - |
disabled | boolean | 是否禁用整个组 | false |
ariaLabel | string | 无障碍标签 | - |
required | boolean | 是否必填 | false |
theme | "brand" | "primary" | 主题样式 | "brand" |
属性名 | 类型 | 描述 | 默认值 |
label ★ | string | 选项显示文本 | - |
value ★ | string | 选项值 | - |
disabled | boolean | 是否禁用该选项 | false |
文档反馈