mgechev / react-reorderable

Simple react sortable component (for more advanced cases use react-dnd).
https://mgechev.github.io/react-reorderable/
MIT License
63 stars 16 forks source link

React Sortable

Sortable component for React. Demo here.

Thanks to @james-ecargo for implementing the React 16 support.

Demo

React.render(
  <ReactReorderable>
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </ReactReorderable>,
  document.getElementById('container')
);

API

Properties

Events

License

MIT