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

This commit is contained in:
chenjiahan
2020-02-28 15:44:58 +08:00
parent 130e1ac7a6
commit 05966e0469
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -118,7 +118,8 @@ export default {
| void-color | 未选中时的颜色 | *string* | `#c8c9cc` |
| disabled-color | 禁用时的颜色 | *string* | `#bdbdbd` |
| icon | 选中时的[图标名称](#/zh-CN/icon)或图片链接 | *string* | `star` |
| void-icon | 未选中时的[图标名称](#/zh-CN/icon)或图片链接 | *string* | `star-o` |
| void-icon | 未选中时的[图标名称](#/zh-CN/icon)或图片链接 | *string* | `star-o` |
| icon-prefix `v2.5.3` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | *string* | `van-icon` |
| allow-half | 是否允许半选 | *boolean* | `false` |
| readonly | 是否为只读状态 | *boolean* | `false` |
| disabled | 是否禁用评分 | *boolean* | `false` |