Closed PManager1 closed 4 years ago
onChange={({ oldIndex, newIndex }) => // compute the order }
onChange gives you oldIndex and newIndex so you can compute the new order.
onChange
oldIndex
newIndex
onChange
gives youoldIndex
andnewIndex
so you can compute the new order.