React drag and drop library with a dragon
Note: this project is based on the poorly-supported drag and drop web API
install with npm
npm i react-dragon-drag-and-drop
With dragons:
![<Dragbox>
<ul>
<Draggable dragon={true}>
<li>Thing 1</li>
</Draggable>
<Draggable dragon={true}>
<li>Thing 2</li>
</Draggable>
</ul>
</Dragbox>](/_next/image?url=%2FsimpleListExample.png&w=3840&q=75)
Without dragons:
dragon
is false by default
![<Dragbox>
<ul>
<Draggable>
<li>Box 1 thing 1</li>
</Draggable>
<Draggable>
<li>Box 1 thing 2</li>
</Draggable>
</ul>
</Dragbox>
<Dragbox>
<ul>
<Draggable>
<li>Box 2 thing 1</li>
</Draggable>
<Draggable>
<li>Box 2 thing 2</li>
</Draggable>
</ul>
</Dragbox>](/_next/image?url=%2FdoubleSimpleListExample.png&w=3840&q=75)
- Box 1 thing 1
- Box 1 thing 2
- Box 2 thing 1
- Box 2 thing 2