Browse Source

docs(tag): remove version column in 4.0 (#19874)

pull/19900/head
Joe Hsu 5 years ago
committed by 二货机器人
parent
commit
0360ac65ad
  1. 22
      components/tag/index.en-US.md
  2. 22
      components/tag/index.zh-CN.md

22
components/tag/index.en-US.md

@ -16,17 +16,17 @@ Tag for categorizing or markup.
### Tag ### Tag
| Property | Description | Type | Default | Version | | Property | Description | Type | Default |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- |
| afterClose | Callback executed when close animation is completed, please use `onClose`, we will remove this in the next version | () => void | - | | | afterClose | Callback executed when close animation is completed, please use `onClose`, we will remove this in the next version | () => void | - |
| closable | Whether the Tag can be closed | boolean | `false` | | | closable | Whether the Tag can be closed | boolean | `false` |
| color | Color of the Tag | string | - | | | color | Color of the Tag | string | - |
| onClose | Callback executed when tag is closed | (e) => void | - | | | onClose | Callback executed when tag is closed | (e) => void | - |
| visible | Whether the Tag is closed or not | boolean | `true` | 3.7.0 | | visible | Whether the Tag is closed or not | boolean | `true` |
### Tag.CheckableTag ### Tag.CheckableTag
| Property | Description | Type | Default | Version | | Property | Description | Type | Default |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- |
| checked | Checked status of Tag | boolean | `false` | | | checked | Checked status of Tag | boolean | `false` |
| onChange | Callback executed when Tag is checked/unchecked | (checked) => void | - | | | onChange | Callback executed when Tag is checked/unchecked | (checked) => void | - |

22
components/tag/index.zh-CN.md

@ -16,17 +16,17 @@ title: Tag
### Tag ### Tag
| 参数 | 说明 | 类型 | 默认值 | 版本 | | 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- |
| afterClose | 关闭动画完成后的回调,请使用 `onClose`, 我们将在下个版本删除此项 | () => void | - | | | afterClose | 关闭动画完成后的回调,请使用 `onClose`, 我们将在下个版本删除此项 | () => void | - |
| closable | 标签是否可以关闭 | boolean | false | | | closable | 标签是否可以关闭 | boolean | false |
| color | 标签色 | string | - | | | color | 标签色 | string | - |
| onClose | 关闭时的回调 | (e) => void | - | | | onClose | 关闭时的回调 | (e) => void | - |
| visible | 是否显示标签 | boolean | `true` | 3.7.0 | | visible | 是否显示标签 | boolean | `true` |
### Tag.CheckableTag ### Tag.CheckableTag
| 参数 | 说明 | 类型 | 默认值 | 版本 | | 参数 | 说明 | 类型 | 默认值 |
| -------- | -------------------- | ----------------- | ------ | ---- | | -------- | -------------------- | ----------------- | ------ |
| checked | 设置标签的选中状态 | boolean | false | | | checked | 设置标签的选中状态 | boolean | false |
| onChange | 点击标签时触发的回调 | (checked) => void | - | | | onChange | 点击标签时触发的回调 | (checked) => void | - |

Loading…
Cancel
Save