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

23 lines
608 B
Markdown
Raw Normal View History

2016-08-23 09:37:10 +08:00
---
category: Components
type: Views
2016-09-21 11:28:38 +08:00
title: Tag
2016-08-23 09:37:10 +08:00
---
Tag for categorizing or markuping.
2016-09-10 13:43:30 +08:00
## When To Use
2016-08-23 09:37:10 +08:00
- It can be used to tag by dimension or property.
- categorizing
## API
| Property | Description | Type | Default |
|--------------|-----------------------|----------|--------------|
| closable | Tag can be closed. | boolean | false |
| onClose | Callback when tag was closed | function(event)| - |
| afterClose | Callback when closed animation is complete | function(event)| - |
2016-09-21 11:28:38 +08:00
| color | Tag's color: `blue` `green` `yellow` `red` | string | - |