react-arborist
react-arborist copied to clipboard
`dragIds` is always empty in `renderDragPreview`
I have a custom renderDragPreview
component. If I drag a selection, I want it to show the number of dragged items.
My assumption was dragIds
prop can help with the task. But it's always empty: []
.
https://github.com/brimdata/react-arborist/blob/3cee71c318c8cb1c3c490ffa977c1b6d2f0264d2/modules/react-arborist/src/components/drag-preview-container.tsx#L22