docs: improve hex readability
This commit is contained in:
@@ -67,7 +67,7 @@ use `loading` property to keep component in loading state
|
||||
| disabled | whether to disable switch | *boolean* | `false` |
|
||||
| size | Size of switch | *number \| string* | `24px` |
|
||||
| active-color | Background of switch color when active | *string* | `#1989fa` |
|
||||
| inactive-color | Background of switch color when inactive | *string* | `#fff` |
|
||||
| inactive-color | Background of switch color when inactive | *string* | `white` |
|
||||
| active-value | Value when active | *any* | `true` |
|
||||
| inactive-value | Value when inactive | *any* | `false` |
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
| disabled | 是否为禁用状态 | *boolean* | `false` |
|
||||
| size | 开关尺寸 | *number \| string* | `24px` |
|
||||
| active-color | 开关时的背景色 | *string* | `#1989fa` |
|
||||
| inactive-color | 开关时的背景色 | *string* | `#fff` |
|
||||
| inactive-color | 开关时的背景色 | *string* | `white` |
|
||||
| active-value | 打开时的值 | *any* | `true` |
|
||||
| inactive-value | 关闭时的值 | *any* | `false` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user