[new feature] SwitchCell: add active-color & inactive-color prop (#2273)

This commit is contained in:
neverland
2018-12-12 15:52:04 +08:00
committed by GitHub
parent cac7e0beff
commit a4a2ce9635
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -57,6 +57,8 @@ export default {
| loading | 是否为加载状态 | `Boolean` | `false` | - |
| disabled | 是否为禁用状态 | `Boolean` | `false` | - |
| size | 开关尺寸 | `String` | `24px` | 1.1.11 |
| active-color | 开关时的背景色 | `String` | `#1989fa` | 1.4.10 |
| inactive-color | 开关时的背景色 | `String` | `#fff` | 1.4.10 |
### Event