({onAction})
| 30 | ]; |
| 31 | |
| 32 | function MenuExample({onAction}) { |
| 33 | return ( |
| 34 | <MenuTrigger> |
| 35 | <Button>Open</Button> |
| 36 | <Menu aria-label="Test" items={items} onAction={onAction}> |
| 37 | {item => <MenuItem id={item.id}>{item.name}</MenuItem>} |
| 38 | </Menu> |
| 39 | </MenuTrigger> |
| 40 | ); |
| 41 | } |
| 42 | |
| 43 | // Flaky in CI. Getting Error: Expected focus after selecting an option to move away from the option. |
| 44 | it.skip.each` |
nothing calls this directly
no outgoing calls
no test coverage detected