4.0.0-beta.1 ā¢ Published 3 years ago
re-dnd v4.0.0-beta.1
re-dnd
Drag-n-drop for reason-react
.
Features
- Vertical lists
- Horizontal lists
- Multiple drop targets
- Mouse & Touch interactions
- Conditional drag & drop
- Custom drag handles
- Scrollable containers
- Auto-scroll when dragging at container's edge
Installation
# yarn
yarn add re-dnd
# or npm
npm install --save re-dnd
Then add it to bsconfig.json
:
"bs-dependencies": [
"re-dnd"
]
Examples
State
Features we'd like to add at some point
- Keyboard interactions
- Ignore form elements (opt-out)
- Drop-zones
- Multi-select
Thanks
- To
react-beautiful-dnd
for inspiration
License
MIT.