Sha256: 407352583e34a6b7dd9dd08ceb0390a9fad630e04f96688cbc252a058c8522b6
Contents?: true
Size: 642 Bytes
Versions: 998
Compression:
Stored size: 642 Bytes
Contents
The Draggable kit gives you a full subcomponent structure that allows it to be used with almost any kits. `DraggableProvider` = This provider manages all settings that allows drag and drop to function and must be used as the outermost wrapper. It has 2 REQUIRED props: `initialItems` (initial data) and `onReorder` (function that returns mutated data as items are reordered via drag and drop). Devs must manage state as shown. `Draggable.Container` = This specifies the container within which items can be dropped. `Draggable.Item` = This specifies the items that can be dragged and dropped. `dragId` is a REQUIRED prop for Draggable.Item.
Version data entries
998 entries across 998 versions & 2 rubygems