mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs(slider): add label text, value (#1716)
docs(slider): add label text
This commit is contained in:
parent
12bcefa38c
commit
8b57f235f2
1 changed files with 3 additions and 3 deletions
|
@ -9,17 +9,17 @@ components: ["Slider", "SliderSkeleton"]
|
|||
|
||||
## Default
|
||||
|
||||
<Slider />
|
||||
<Slider labelText="Instances" value={0} />
|
||||
|
||||
## Full width
|
||||
|
||||
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
|
||||
|
||||
<Slider hideTextInput />
|
||||
<Slider labelText="Instances" hideTextInput value={0} />
|
||||
|
||||
## Custom minimum, maximum values
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue