Skip to content

Repository files navigation

react-easy-sortable

Sortable list component with react that should be easy to use 🎉🎉🎉

npm version

Installation

Using npm:

npm install react-easy-sortable --save

Usage

import{SortableList,SortableItem}from'react-easy-sortable'exportdefaultclassSortableComponent{onSort(target,indexList){// ...}render(){return(<SortableListonSort={this.onSort.bind(this)}><SortableItem>
Your Components
</SortableItem>{/* ... */}</SortableList>)}}

Using Webpack or other module bunlder to pack it.

About

Sortable List Component with React

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages