react-slipmove
Smoothly animated sortable lists for touch devices.
Installation
npm i react-slipmove
or
yarn add react-slipmove
Demo
;;;; const generateItems = ...Arraylength const actions = items: items: items: state = items: this; this; this; { const items = thisstate; return <div className="App" > <button onClick=thisreverse>Reverse</button> <button onClick=thisshuffle>Shuffle</button> <SlipMove onMoveEnd=thismove flipMoveProps=appearAnimation: 'fade' > items </SlipMove> </div> ; } // Requires class components as children { const children = thisprops; return <div className="list-item" >children</div> }