mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
docs(select): add "Hidden label" example
This commit is contained in:
parent
1cb9345653
commit
60cb3167df
1 changed files with 9 additions and 0 deletions
|
@ -16,6 +16,15 @@ components: ["Select", "SelectItem", "SelectItemGroup", "SelectSkeleton"]
|
||||||
<SelectItem value="g100" text="Gray 100" />
|
<SelectItem value="g100" text="Gray 100" />
|
||||||
</Select>
|
</Select>
|
||||||
|
|
||||||
|
### Hidden label
|
||||||
|
|
||||||
|
<Select hideLabel labelText="Carbon theme" selected="g10" >
|
||||||
|
<SelectItem value="white" text="White" />
|
||||||
|
<SelectItem value="g10" text="Gray 10" />
|
||||||
|
<SelectItem value="g90" text="Gray 90" />
|
||||||
|
<SelectItem value="g100" text="Gray 100" />
|
||||||
|
</Select>
|
||||||
|
|
||||||
### Item groups
|
### Item groups
|
||||||
|
|
||||||
<Select labelText="Carbon theme" selected="g10" >
|
<Select labelText="Carbon theme" selected="g10" >
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue