| 28 | }; |
| 29 | |
| 30 | export const Sections: Story = args => ( |
| 31 | <ListBox aria-label="Sandwich contents" selectionMode="multiple"> |
| 32 | <ListBoxSection> |
| 33 | <Header>Veggies</Header> |
| 34 | <ListBoxItem id="lettuce">Lettuce</ListBoxItem> |
| 35 | <ListBoxItem id="tomato">Tomato</ListBoxItem> |
| 36 | <ListBoxItem id="onion">Onion</ListBoxItem> |
| 37 | </ListBoxSection> |
| 38 | <ListBoxSection> |
| 39 | <Header>Protein</Header> |
| 40 | <ListBoxItem id="ham">Ham</ListBoxItem> |
| 41 | <ListBoxItem id="tuna">Tuna</ListBoxItem> |
| 42 | <ListBoxItem id="tofu">Tofu</ListBoxItem> |
| 43 | </ListBoxSection> |
| 44 | <ListBoxSection> |
| 45 | <Header>Condiments</Header> |
| 46 | <ListBoxItem id="mayo">Mayonaise</ListBoxItem> |
| 47 | <ListBoxItem id="mustard">Mustard</ListBoxItem> |
| 48 | <ListBoxItem id="ranch">Ranch</ListBoxItem> |
| 49 | </ListBoxSection> |
| 50 | </ListBox> |
| 51 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected