ant-design/components/tag/index.en-US.md
MuYu fb0b4f0fc9 docs: show version Number features were added (#17373)
* 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
2019-07-11 14:14:33 +08:00

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 -