docs(slider): add label text, value (#1716)

docs(slider): add label text
This commit is contained in:
metonym 2023-04-08 12:21:24 -07:00 committed by GitHub
commit 8b57f235f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,17 +9,17 @@ components: ["Slider", "SliderSkeleton"]
## Default ## Default
<Slider /> <Slider labelText="Instances" value={0} />
## Full width ## Full width
Set `fullWidth` to `true` for the slider to span the full width of its containing element. Set `fullWidth` to `true` for the slider to span the full width of its containing element.
<Slider fullWidth /> <Slider labelText="Instances" fullWidth value={0} />
## Hidden text input ## Hidden text input
<Slider hideTextInput /> <Slider labelText="Instances" hideTextInput value={0} />
## Custom minimum, maximum values ## Custom minimum, maximum values