mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
fb0b4f0fc9
* docs: add api first appearance * docs: fix auto-complete doc * docs: replace Version Added with Version * docs: date picker common method * docs: date picker common method * docs: tree * docs: remove meaningless 3.0.0
954 B
954 B
category | type | title |
---|---|---|
Components | Data Display | Tag |
Tag for categorizing or markup.
When To Use
-
It can be used to tag by dimension or property.
-
When categorizing.
API
Tag
Property | Description | Type | Default | Version |
---|---|---|---|---|
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 |
|
color | Color of the Tag | string | - | |
onClose | Callback executed when tag is closed | (e) => void | - | |
visible | Whether the Tag is closed or not | boolean | true |
3.7.0 |
Tag.CheckableTag
Property | Description | Type | Default | Version |
---|---|---|---|---|
checked | Checked status of Tag | boolean | false |
|
onChange | Callback executed when Tag is checked/unchecked | (checked) => void | - |