An open API service indexing awesome lists of open source software.

https://github.com/teabyii/react-easy-sortable

Sortable List Component with React
https://github.com/teabyii/react-easy-sortable

component list react react-component reactjs sortable sortable-list

Last synced: about 2 months ago
JSON representation

Sortable List Component with React

Awesome Lists containing this project

README

          

# react-easy-sortable

Sortable list component with react that should be easy to use :tada::tada::tada:

[![npm version](https://badge.fury.io/js/react-easy-sortable.svg)](https://badge.fury.io/js/react-easy-sortable)

## Installation

Using npm:

```shell
npm install react-easy-sortable --save
```

## Usage

```js
import { SortableList, SortableItem } from 'react-easy-sortable'

export default class SortableComponent {
onSort (target, indexList) {
// ...
}

render () {
return (


Your Components

{ /* ... */ }

)
}
}
```

Using [Webpack](https://webpack.js.org/) or other module bunlder to pack it.