Add docs example

This commit is contained in:
Eric Liu 2025-04-18 10:24:11 -07:00
commit bdb4ad82d0

View file

@ -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"