react-dragula
Drag and drop so simple it hurts,Official React wrapper for dragula.
Live Demo
http://bevacqua.github.io/react-dragula/
Install
You can get it on npm.
Or bower, too.
Usage
Refer to the documentation for [dragula
][4]. The API for react-dragula
is identical, but a few tiny tweaks were made around it so that it works out the box with React.
Example
Here's an example application using react
and react-dragula
.
Example using refs (ES2015 syntax)
Here's an example using refs (ES2015 syntax): React: The ref Callback Attribute