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