[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ Vue.use(Tag);
<van-tag size="large">Tag</van-tag>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -76,13 +76,13 @@ Vue.use(Tag);
| text-color | Text color | `String` | `white` |
### Slot
### Slots
| Name | Description |
|------|------|
| default | Default slot |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
+3 -3
View File
@@ -71,7 +71,7 @@ Vue.use(Tag);
<van-tag size="large">标签</van-tag>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -83,13 +83,13 @@ Vue.use(Tag);
| mark | 是否为标记样式 | `Boolean` | `false` | - |
| text-color | 文本颜色,优先级高于`color`属性 | `String` | `white` | 1.5.0 |
### Slot
### Slots
| 名称 | 说明 |
|------|------|
| default | 自定义 Tag 显示内容 |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|