feat(Button): add icon-prefix prop (#5666)

This commit is contained in:
chenjiahan
2020-02-28 15:40:46 +08:00
parent 09b57901f5
commit 130e1ac7a6
9 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ Toast.resetDefaultOptions('loading');
| position | 位置,可选值为 `top` `bottom` | *string* | `middle` |
| message | 文本内容,支持通过`\n`换行 | *string* | `''` | - |
| icon `v2.0.1` | 自定义图标,支持传入[图标名称](#/zh-CN/icon)或图片链接 | *string* | - |
| iconPrefix `v2.0.9` | 图标类名前缀 | *string* | `van-icon` |
| iconPrefix `v2.0.9` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | *string* | `van-icon` |
| overlay `v2.2.13` | 是否显示背景遮罩层 | *boolean* | `false` |
| forbidClick | 是否禁止背景点击 | *boolean* | `false` |
| closeOnClick `v2.1.5` | 是否在点击后关闭 | *boolean* | `false` |