| 14 | type Story = StoryFn<typeof ListBox>; |
| 15 | |
| 16 | export const Example: Story = args => ( |
| 17 | <ListBox aria-label="Ice cream flavor" {...args}> |
| 18 | <ListBoxItem>Chocolate</ListBoxItem> |
| 19 | <ListBoxItem>Mint</ListBoxItem> |
| 20 | <ListBoxItem>Strawberry</ListBoxItem> |
| 21 | <ListBoxItem>Vanilla</ListBoxItem> |
| 22 | </ListBox> |
| 23 | ); |
| 24 | |
| 25 | Example.args = { |
| 26 | onAction: undefined, |
nothing calls this directly
no outgoing calls
no test coverage detected