react-butterfiles
react-butterfiles copied to clipboard
Update getDropZoneProps to pass the event object
Currently, any custom handlers for onDragOver and onDrop do not receive the event object. This unobtrusive code change allows developers to access the event object.
Related Issue
Well, take it or leave it, this change is so small I'm not going to open an issue. Either merge or delete the PR.
Your solution
Just pass the event object. It was probably an oversight.
How Has This Been Tested?
Shouldn't need testing
Screenshots (if relevant):
N/A