({listBoxProps, itemProps})
| 39 | import {Virtualizer} from '../src/Virtualizer'; |
| 40 | |
| 41 | let TestListBox = ({listBoxProps, itemProps}) => ( |
| 42 | <ListBox aria-label="Test" {...listBoxProps}> |
| 43 | <ListBoxItem {...itemProps} id="cat"> |
| 44 | Cat |
| 45 | </ListBoxItem> |
| 46 | <ListBoxItem {...itemProps} id="dog"> |
| 47 | Dog |
| 48 | </ListBoxItem> |
| 49 | <ListBoxItem {...itemProps} id="kangaroo"> |
| 50 | Kangaroo |
| 51 | </ListBoxItem> |
| 52 | </ListBox> |
| 53 | ); |
| 54 | |
| 55 | let DraggableListBox = props => { |
| 56 | let {dragAndDropHooks} = useDragAndDrop({ |
nothing calls this directly
no outgoing calls
no test coverage detected