[Doc] use ts-style type
This commit is contained in:
+7
-7
@@ -70,13 +70,13 @@ Vue.use(Tag);
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type | Type, can be set to `primary` `success` `danger` | `String` | `default` |
|
||||
| size | Size, can be set to `large` `medium` | `String` | - |
|
||||
| color | Custom color | `String` | - |
|
||||
| plain | Whether to be plain style | `Boolean` | `false` |
|
||||
| round | Whether to be round style | `Boolean` | `false` |
|
||||
| mark | Whether to be mark style | `Boolean` | `false` |
|
||||
| text-color | Text color | `String` | `white` |
|
||||
| type | Type, can be set to `primary` `success` `danger` | `string` | `default` |
|
||||
| size | Size, can be set to `large` `medium` | `string` | - |
|
||||
| color | Custom color | `string` | - |
|
||||
| plain | Whether to be plain style | `boolean` | `false` |
|
||||
| round | Whether to be round style | `boolean` | `false` |
|
||||
| mark | Whether to be mark style | `boolean` | `false` |
|
||||
| text-color | Text color | `string` | `white` |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
@@ -78,13 +78,13 @@ Vue.use(Tag);
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| type | 类型,可选值为`primary` `success` `danger` | `String` | `default` | - |
|
||||
| size | 大小, 可选值为`large` `medium` | `String` | - | - |
|
||||
| color | 标签颜色 | `String` | - | - |
|
||||
| plain | 是否为空心样式 | `Boolean` | `false` | - |
|
||||
| round | 是否为圆角样式 | `Boolean` | `false` | - |
|
||||
| mark | 是否为标记样式 | `Boolean` | `false` | - |
|
||||
| text-color | 文本颜色,优先级高于`color`属性 | `String` | `white` | 1.5.0 |
|
||||
| type | 类型,可选值为`primary` `success` `danger` | `string` | `default` | - |
|
||||
| size | 大小, 可选值为`large` `medium` | `string` | - | - |
|
||||
| color | 标签颜色 | `string` | - | - |
|
||||
| plain | 是否为空心样式 | `boolean` | `false` | - |
|
||||
| round | 是否为圆角样式 | `boolean` | `false` | - |
|
||||
| mark | 是否为标记样式 | `boolean` | `false` | - |
|
||||
| text-color | 文本颜色,优先级高于`color`属性 | `string` | `white` | 1.5.0 |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user