docs: docs update (#52918)

This commit is contained in:
lijianan
2025-02-22 13:10:25 +08:00
committed by GitHub
parent cf2b6e4542
commit 7134c5d706

View File

@@ -21,9 +21,9 @@ return (
<Radio.Group
value={value}
options={[
{ value: 1, label: "A" },
{ value: 2, label: "B"},
{ value: 3, label: "C" },
{ value: 1, label: 'A' },
{ value: 2, label: 'B' },
{ value: 3, label: 'C' },
]}
/>
);
@@ -92,7 +92,7 @@ return (
### CheckboxOptionType
| Property | Description | Type | Default | Version |
| 属性 | 说明 | 类型 | 默认值 | 版本 |
| --- | --- | --- | --- | --- |
| label | 用于作为 Radio 选项展示的文本 | `string` | - | 4.4.0 |
| value | 关联 Radio 选项的值 | `string` \| `number` \| `boolean` | - | 4.4.0 |