Closed mraf closed 2 years ago
That would be much better to use. I'll look into that Btw admin-panel package already exports draggable list component, so it would be something like
import { DraggableList } from '@cromwell/admin-panel';
<DraggableList
data={[]}
onChange={()=>{}}
component={Item}
/>
Thanks! Good reference for another pluggins which can use this component.
Please enable reorder elements in a menu item list using the mouse. Click on and drag an element to a new spot within the list, and the other items will adjust to fit.