(args: any)
| 33 | }; |
| 34 | |
| 35 | export const Sections = (args: any) => ( |
| 36 | <ComboBox {...args}> |
| 37 | <ComboBoxSection title="Fruit"> |
| 38 | <ComboBoxItem id="Apple">Apple</ComboBoxItem> |
| 39 | <ComboBoxItem id="Banana">Banana</ComboBoxItem> |
| 40 | <ComboBoxItem id="Orange">Orange</ComboBoxItem> |
| 41 | <ComboBoxItem id="Honeydew">Honeydew</ComboBoxItem> |
| 42 | <ComboBoxItem id="Grapes">Grapes</ComboBoxItem> |
| 43 | <ComboBoxItem id="Watermelon">Watermelon</ComboBoxItem> |
| 44 | <ComboBoxItem id="Cantaloupe">Cantaloupe</ComboBoxItem> |
| 45 | <ComboBoxItem id="Pear">Pear</ComboBoxItem> |
| 46 | </ComboBoxSection> |
| 47 | <ComboBoxSection title="Vegetable"> |
| 48 | <ComboBoxItem id="Cabbage">Cabbage</ComboBoxItem> |
| 49 | <ComboBoxItem id="Broccoli">Broccoli</ComboBoxItem> |
| 50 | <ComboBoxItem id="Carrots">Carrots</ComboBoxItem> |
| 51 | <ComboBoxItem id="Lettuce">Lettuce</ComboBoxItem> |
| 52 | <ComboBoxItem id="Spinach">Spinach</ComboBoxItem> |
| 53 | <ComboBoxItem id="Bok Choy">Bok Choy</ComboBoxItem> |
| 54 | <ComboBoxItem id="Cauliflower">Cauliflower</ComboBoxItem> |
| 55 | <ComboBoxItem id="Potatoes">Potatoes</ComboBoxItem> |
| 56 | </ComboBoxSection> |
| 57 | </ComboBox> |
| 58 | ); |
| 59 | |
| 60 | Sections.args = { |
| 61 | label: 'Preferred fruit or vegetable' |
nothing calls this directly
no outgoing calls
no test coverage detected