The docs for useDrag say that collect takes two parameters, but it only takes one
HenrikBechmann opened this issue · comments
Henrik Bechmann commented
Describe the bug
A clear and concise description of what the bug is.
collect in useDrag only get the monitor parameter, not props (two parameters causes an error). Please correct the docs, or tell me what I'm missing.
Reproduction
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.