mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
docs(slider): add label text
This commit is contained in:
parent
50147439b5
commit
4eb3bf0813
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue