Skip to content

Commit bb1ae39

Browse files
authored
docs(tag): update type definition (#5476)
1 parent eb29738 commit bb1ae39

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

components/tag/index.en-US.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Tag for categorizing or markup.
1616

1717
### Tag
1818

19-
| Property | Description | Type | Default | Version |
20-
| ---------------- | -------------------------------- | ------------------- | ------- | ------- |
21-
| closable | Whether the Tag can be closed | boolean | `false` | |
22-
| closeIcon | Custom close icon | VNode \| #closeIcon | - | 2.0.0 |
23-
| color | Color of the Tag | string | - | |
24-
| icon | Set the icon of tag | VNode \| #icon | - | 2.0.0 |
25-
| visible(v-model) | Whether the Tag is closed or not | boolean | `true` | |
19+
| Property | Description | Type | Default | Version |
20+
| ---------------- | -------------------------------- | ------------- | ------- | ------- |
21+
| closable | Whether the Tag can be closed | boolean | `false` | |
22+
| closeIcon | Custom close icon | VNode \| slot | - | 2.0.0 |
23+
| color | Color of the Tag | string | - | |
24+
| icon | Set the icon of tag | VNode \| slot | - | 2.0.0 |
25+
| visible(v-model) | Whether the Tag is closed or not | boolean | `true` | |
2626

2727
### Tag Events
2828

components/tag/index.zh-CN.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ cover: https://gw.alipayobjects.com/zos/alicdn/cH1BOLfxC/Tag.svg
1717

1818
### Tag
1919

20-
| 参数 | 说明 | 类型 | 默认值 | 版本 |
21-
| ---------------- | ---------------- | ------------------- | ------ | ----- |
22-
| closable | 标签是否可以关闭 | boolean | false | |
23-
| closeIcon | 自定义关闭按钮 | VNode \| #closeIcon | - | 2.0.0 |
24-
| color | 标签色 | string | - | |
25-
| icon | 设置图标 | VNode \| #icon | - | 2.0.0 |
26-
| visible(v-model) | 是否显示标签 | boolean | `true` | |
20+
| 参数 | 说明 | 类型 | 默认值 | 版本 |
21+
| ---------------- | ---------------- | ------------- | ------ | ----- |
22+
| closable | 标签是否可以关闭 | boolean | false | |
23+
| closeIcon | 自定义关闭按钮 | VNode \| slot | - | 2.0.0 |
24+
| color | 标签色 | string | - | |
25+
| icon | 设置图标 | VNode \| slot | - | 2.0.0 |
26+
| visible(v-model) | 是否显示标签 | boolean | `true` | |
2727

2828
### 事件
2929

0 commit comments

Comments
 (0)