| 364 | ); |
| 365 | |
| 366 | let DraggableTree = props => { |
| 367 | let {dragAndDropHooks} = useDragAndDrop({ |
| 368 | getItems: keys => [...keys].map(key => ({'text/plain': key})), |
| 369 | ...props |
| 370 | }); |
| 371 | |
| 372 | return <DynamicTree treeProps={{dragAndDropHooks}} />; |
| 373 | }; |
| 374 | |
| 375 | let DraggableTreeWithSelection = props => { |
| 376 | let {dragAndDropHooks} = useDragAndDrop({ |
nothing calls this directly
no test coverage detected