ant-design/components/tag/index.en-US.md

920 B

category type title
Components Data Display Tag

Tag for categorizing or markuping.

When To Use

  • It can be used to tag by dimension or property.

  • categorizing

API

Tag

Property Description Type Default
color The color of Tag string -
closable Tag can be closed. boolean false
onClose Callback when tag was closed (e) => void -
afterClose Callback when closed animation is complete () => void -

Tag.CheckableTag

Property Description Type Default
checked To set the checked status for Tag boolean false
onChange A callback which will be called while Tag is clicked (checked) => void -