@@ -45,9 +45,7 @@ class Slider(Component):
4545 max : int | None = None
4646 """The maximum allowed value of the slider. Should not be equal to min."""
4747
48- marks : (bool |
49- list [TypedDict ("marks" , {"value" : int , "label" : str })] |
50- None ) = None
48+ marks : bool | list [TypedDict ("marks" , {"value" : int , "label" : str })] | None = None
5149 """Marks indicate predetermined values to which the user can move the
5250 slider. If true the marks are spaced according the value of the step
5351 prop. If an array, it should contain objects with value and an optional
@@ -73,21 +71,21 @@ class Slider(Component):
7371 track : Literal ["inverted" , "normal" ] | False | None = None
7472 """The track presentation:
7573
76- `normal`: the track will render a bar representing the slider value.
77- `inverted`: the track will render a bar representing the remaining slider
78- value.
79- `false`: the track will render without a bar.
74+ - `normal`: the track will render a bar representing the slider value.
75+ - `inverted`: the track will render a bar representing the remaining slider
76+ value.
77+ - `false`: the track will render without a bar.
8078 """
8179
8280 value : list [int ] | int | None = None
8381 """The value of the slider. For ranged sliders, provide an array with two
8482 values.
8583 """
8684
87- valueLabelDisplay : Literal [' auto' , 'on' , ' off' ] | None = None
85+ valueLabelDisplay : Literal [" auto" , "on" , " off" ] | None = None
8886 """Controls when the value label is displayed:
8987
90- `auto` the value label will display when the thumb is hovered or focused.
91- `on` will display persistently.
92- `off` will never display.
88+ - `auto` the value label will display when the thumb is hovered or focused.
89+ - `on` will display persistently.
90+ - `off` will never display.
9391 """
0 commit comments