docs: update Tag english doc (#7645)

Fixed typos.
This commit is contained in:
Khalifa Lame 2017-09-18 03:27:35 +01:00 committed by Benjy Cui
parent 43d14f8517
commit fab83990c2

View File

@ -4,13 +4,13 @@ type: Data Display
title: Tag
---
Tag for categorizing or markuping.
Tag for categorizing or markup.
## When To Use
- It can be used to tag by dimension or property.
- categorizing
- When categorizing.
## API
@ -18,14 +18,14 @@ Tag for categorizing or markuping.
| 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 | - |
| color | Color of the Tag | string | - |
| closable | Whether Tag can be closed | boolean | `false` |
| onClose | Callback executed when tag is closed | (e) => void | - |
| afterClose | Callback executed when close animation is completed | () => 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 | - |
| checked | Checked status of Tag | boolean | `false` |
| onChange | Callback executed when Tag is checked/unchecked | (checked) => void | - |