docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+6 -6
View File
@@ -62,12 +62,12 @@ import 'vant/lib/icon/local.css';
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| 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