MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Example

Function Example

starters/docs/stories/ComboBox.stories.tsx:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16type Story = StoryFn<typeof ComboBox>;
17
18export const Example: Story = args => (
19 <ComboBox {...args}>
20 <ComboBoxItem>Chocolate</ComboBoxItem>
21 <ComboBoxItem>Mint</ComboBoxItem>
22 <ComboBoxItem>Strawberry</ComboBoxItem>
23 <ComboBoxItem>Vanilla</ComboBoxItem>
24 </ComboBox>
25);
26
27Example.args = {
28 label: 'Ice cream flavor'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected