0.1.2 • Published 5 years ago

reactdnd-easy v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

npm version

reactdnd-easy

Simple solucion to implement reactdnd without all that complicated code

How to Use

Sortable wrapper

Sample file

import { SortableWrapper, HTML5Backend, DragDropContext } from "./index"

<SortableWrapper moveCard={this.moveCard}>
            <div>hellow world1<div/>
            <div>hellow world2<div/>
            <div>hellow world3<div/>
            <div>hellow world4<div/>
            <div>hellow world5<div/>
</SortableWrapper>

export default DragDropContext(HTML5Backend)(App);