[Doc] use ts-style type

This commit is contained in:
陈嘉涵
2019-07-11 20:35:41 +08:00
parent 32f19c5561
commit 019c75506a
120 changed files with 1288 additions and 1288 deletions
+6 -6
View File
@@ -61,12 +61,12 @@ import 'vant/lib/icon/local.css';
| Attribute | Description | Type | Default |
|------|------|------|------|
| name | Icon name or URL | `String` | `''` |
| info | Info message | `String | Number` | `''` |
| color | Icon color | `String` | `inherit` |
| size | Icon size | `String | Number` | `inherit` |
| class-prefix | ClassName prefix | `String` | `van-icon` |
| tag | HTML Tag | `String` | `i` |
| name | Icon name or URL | `string` | `''` |
| info | Info message | `string | number` | `''` |
| color | Icon color | `string` | `inherit` |
| size | Icon size | `string | number` | `inherit` |
| class-prefix | ClassName prefix | `string` | `van-icon` |
| tag | HTML Tag | `string` | `i` |
### Events