Skip to content

Commit

Permalink
docs(style): [tag] use new display tag
Browse files Browse the repository at this point in the history
  • Loading branch information
wzc520pyfm committed Apr 28, 2023
1 parent 167582d commit 72c92b5
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docs/en-US/component/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,23 @@ tag/checkable

## Attributes

| Name | Description | Type | Accepted Values | Default |
| ------------------- | ------------------------------------ | ------- | --------------------------- | ------- |
| type | component type | string | success/info/warning/danger | β€” |
| closable | whether Tag can be removed | boolean | β€” | false |
| disable-transitions | whether to disable animations | boolean | β€” | false |
| hit | whether Tag has a highlighted border | boolean | β€” | false |
| color | background color of the Tag | string | β€” | β€” |
| size | tag size | string | large / default /small | default |
| effect | component theme | string | dark / light / plain | light |
| round | whether Tag is rounded | boolean | β€” | false |
| Name | Description | Type | Default |
| ------------------- | ------------------------------------ | -------------------------------------------------------- | ------- |
| type | component type | ^[string]`'success' \| 'info' \| 'warning' \| 'danger'` | β€” |
| closable | whether Tag can be removed | ^[boolean] | false |
| disable-transitions | whether to disable animations | ^[boolean] | false |
| hit | whether Tag has a highlighted border | ^[boolean] | false |
| color | background color of the Tag | ^[string] | β€” |
| size | tag size | ^[string]`'large' \| 'default' \| 'small'` | default |
| effect | component theme | ^[string]`'dark' \| 'light' \| 'plain'` | light |
| round | whether Tag is rounded | ^[boolean] | false |

## Events

| Name | Description | Parameters |
| ----- | ---------------------------- | ---------- |
| click | triggers when Tag is clicked | β€” |
| close | triggers when Tag is removed | β€” |
| Name | Description | Type |
| ----- | ---------------------------- | ---------------------------------------------------- |
| click | triggers when Tag is clicked | ^[Function]`(event: MouseEvent) => boolean` |
| close | triggers when Tag is removed | ^[Function]`(event: MouseEvent) => boolean` |

## Slots

Expand All @@ -101,15 +101,15 @@ tag/checkable

## CheckTag Attributes

| Name | Description | Type | Accepted Values | Default |
| ------- | ----------- | ------- | --------------- | ------- |
| checked | is checked | boolean | true/false | β€” |
| Name | Description | Type | Default |
| ------- | ----------- | ---------- | ------- |
| checked | is checked | ^[boolean] | β€” |

## CheckTag Events

| Name | Description | Parameters |
| ------ | ---------------------------------- | ---------- |
| change | triggers when Check Tag is clicked | checked |
| Name | Description | Type |
| ------ | ---------------------------------- | ------------------------------------------- |
| change | triggers when Check Tag is clicked | ^[Function]`(value: boolean) => boolean` |

## CheckTag Slots

Expand Down

0 comments on commit 72c92b5

Please sign in to comment.