[new feature] SwitchCell: add border prop

This commit is contained in:
陈嘉涵
2019-04-30 15:11:05 +08:00
parent 3af9cf6c41
commit 95925ab328
8 changed files with 36 additions and 6 deletions
+4 -3
View File
@@ -55,9 +55,10 @@ use `loading` property to keep component in loading state
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | on-off state of the switch | `any` | `false` |
| title | the leftside title | `String` | `''` |
| loading | whether switch is loading | `Boolean` | `false` |
| disabled | whether to disable switch | `Boolean` | `false` |
| title | the left side title | `String` | `''` |
| border | whether to show cell border | `Boolean` | `true` |
| loading | whether switch is loading | `Boolean` | `false` |
| disabled | whether to disable switch | `Boolean` | `false` |
| size | Size of switch | `String` | `24px` |
| active-color | Background of switch color when active | `String` | `#1989fa` |
| inactive-color | Background of switch color when inactive | `String` | `#fff` |