docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+8 -8
View File
@@ -60,14 +60,14 @@ import 'vant/lib/icon/local.css';
### Props
| 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` |
| 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` | - |
### Events
+1 -1
View File
@@ -67,7 +67,7 @@ import 'vant/lib/icon/local.css';
| name | 图标名称或图片链接 | `string` | - | - |
| info | 图标右上角文字提示 | `string | number` | - | - |
| color | 图标颜色 | `string` | `inherit` | - |
| size | 图标大小,如 `20px` `2em`,默认单位为`px` | `string | number` | `inherit` | 2.0.0 |
| size | 图标大小,如 `20px` `2em`,默认单位为`px` | `string | number` | `inherit` | - |
| class-prefix | 类名前缀 | `string` | `van-icon` | - |
| tag | HTML 标签 | `string` | `i` | - |