react-reorderable
v0.4.3
Published
Sortable component for ReactJS
Maintainers
Readme
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
handle- a selector, which provides the handle elementmode-gridorlist,listwill work in the general case butgridis eventually smarter for grid layout
Events
onDragStartonDragonDroponChange
License
MIT
