MinimaHQ / Re Dnd
Drag & drop for reason-react
Stars: ✭ 95
Programming Languages
reason
219 projects
re-dnd
Drag & drop for @rescript/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"
]
Docs
Examples
State
🚧 The library is not feature-complete and some features/apis might be missing.
🎙 Let us know if you miss anything via creating an issue.
🌎 We're using it in production BTW.
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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].