|
<DragDropContextConsumer> |
Because of this line,
react-dnd should be in
dependencies, not
devDependencies.
In my project I have "react-dnd": "^7.0.2" and I saw no error/warning that frontend-collective-react-dnd-scrollzone depends on "react-dnd": "^7.3.0". And only when I launched the project, I saw in dev tools that react-dnd doesn't export DragDropContextConsumer.