[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
+2 -2
View File
@@ -53,7 +53,7 @@ import 'vant/lib/icon/local.css';
<van-icon class-prefix="my-icon" name="extra" />
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -64,7 +64,7 @@ import 'vant/lib/icon/local.css';
| class-prefix | ClassName prefix | `String` | `van-icon` |
| tag | HTML Tag | `String` | `i` |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
+2 -2
View File
@@ -56,7 +56,7 @@ import 'vant/lib/icon/local.css';
<van-icon class-prefix="my-icon" name="extra" />
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -67,7 +67,7 @@ import 'vant/lib/icon/local.css';
| class-prefix | 类名前缀 | `String` | `van-icon` | 1.2.1 |
| tag | HTML 标签 | `String` | `i` | 1.6.10 |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|