Skip to content

Commit 4201c92

Browse files
yixiangbudao吴亚丹
and
吴亚丹
authored
docs(Badge) Change the description of the text attribute of the Badge component document (#6012)
* 更改Badge组件文档text属性说明 * 更改Avatar组件文档crossOrigin属性说明 Co-authored-by: 吴亚丹 <[email protected]>
1 parent a69a7ff commit 4201c92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/avatar/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Avatars can be used to represent people or objects. It supports images, `Icon`s,
1414
| Property | Description | Type | Default | Version |
1515
| --- | --- | --- | --- | --- |
1616
| alt | This attribute defines the alternative text describing the image | string | - | |
17-
| crossOrigin | CORS settings attributes | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 |
17+
| crossOrigin | cors settings attributes | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 |
1818
| draggable | Whether the picture is allowed to be dragged | boolean \| `'true'` \| `'false'` | - | 2.2.0 |
1919
| gap | Letter type unit distance between left and right sides | number | 4 | 2.2.0 |
2020
| icon | the `Icon` type for an icon avatar, see `Icon` Component | VNode \| slot | - | |

components/avatar/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/aBcnbw68hP/Avatar.svg
1919
| 参数 | 说明 | 类型 | 默认值 | 版本 |
2020
| --- | --- | --- | --- | --- |
2121
| alt | 图像无法显示时的替代文本 | string | - | |
22-
| crossOrigin | CORS 属性设置 | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 |
22+
| crossOrigin | cors 属性设置 | `'anonymous'` \| `'use-credentials'` \| `''` | - | 3.0 |
2323
| draggable | 图片是否允许拖动 | boolean \| `'true'` \| `'false'` | - | 2.2.0 |
2424
| gap | 字符类型距离左右两侧边界单位像素 | number | 4 | 2.2.0 |
2525
| icon | 设置头像的图标类型,可设为 Icon 的 `type` 或 VNode | VNode \| slot | - | |

0 commit comments

Comments
 (0)