docs(components): [slider] update size attributes (#8795)

This commit is contained in:
brokenbones 2022-09-06 17:00:25 +08:00 committed by GitHub
parent 3dca453cc0
commit 678fc5cdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ slider/show-marks
| step | step size | number | — | 1 | | step | step size | number | — | 1 |
| show-input | whether to display an input box, works when `range` is false | boolean | — | false | | show-input | whether to display an input box, works when `range` is false | boolean | — | false |
| show-input-controls | whether to display control buttons when `show-input` is true | boolean | — | true | | show-input-controls | whether to display control buttons when `show-input` is true | boolean | — | true |
| size | size of the slider | string | large / default / small | default | | size | size of the slider wrapper, will not work in vertical mode | string | large / default / small | default |
| input-size | size of the input box, when set `size`, the default is the value of `size` | string | large / default / small | default | | input-size | size of the input box, when set `size`, the default is the value of `size` | string | large / default / small | default |
| show-stops | whether to display breakpoints | boolean | — | false | | show-stops | whether to display breakpoints | boolean | — | false |
| show-tooltip | whether to display tooltip value | boolean | — | true | | show-tooltip | whether to display tooltip value | boolean | — | true |