mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Add docs example
This commit is contained in:
parent
db0fccbfb4
commit
bdb4ad82d0
1 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,15 @@ Override the default slot to customize the display of each item. Access the item
|
||||||
|
|
||||||
<FileSource src="/framed/ComboBox/ComboBoxSlot" />
|
<FileSource src="/framed/ComboBox/ComboBoxSlot" />
|
||||||
|
|
||||||
|
## Hidden label
|
||||||
|
|
||||||
|
<ComboBox hideLabel titleText="Hidden Label" placeholder="Select contact method"
|
||||||
|
items={[
|
||||||
|
{id: "0", text: "Slack"},
|
||||||
|
{id: "1", text: "Email"},
|
||||||
|
{id: "2", text: "Fax"}
|
||||||
|
]} />
|
||||||
|
|
||||||
## Initial selected id
|
## Initial selected id
|
||||||
|
|
||||||
<ComboBox titleText="Contact" placeholder="Select contact method"
|
<ComboBox titleText="Contact" placeholder="Select contact method"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue