[improvement] Slider: support number type of bar-height prop (#3794)

This commit is contained in:
neverland
2019-07-09 17:02:05 +08:00
committed by GitHub
parent 06cf48c4c5
commit 7caf664e48
5 changed files with 27 additions and 6 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export default {
| max | Max value | `Number` | `100` |
| min | Min value | `Number` | `0` |
| step | Step size | `Number` | `1` |
| bar-height | Height of bar | `String` | `2px` |
| bar-height | Height of bar | `Number | String` | `2px` |
| active-color | Active color of bar | `String` | `#1989fa` |
| inactive-color | Inactive color of bar | `String` | `#e5e5e5` |
| vertical | Whether to display vertical | `Boolean` | `false` |