MCPcopy Create free account
hub / github.com/adobe/react-spectrum / useDragAndDrop

Function useDragAndDrop

packages/@react-spectrum/s2/src/useDragAndDrop.ts:30–32  ·  view source on GitHub ↗
(options: DragAndDropOptions<T>)

Source from the content-addressed store, hash-verified

28 * collection component.
29 */
30export function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDrop<T> {
31 return useRACDragAndDrop(options);
32}

Callers 15

DraggableTreeViewFunction · 0.90
DraggableListViewFunction · 0.90
DroppableTableViewFunction · 0.90
DraggableTableViewFunction · 0.90
DroppableTreeViewFunction · 0.90
DroppableListViewFunction · 0.90
TabNavTableFunction · 0.90
ReorderExampleFunction · 0.90
BetweenListsFunction · 0.90
ReorderableTreeFunction · 0.90
BetweenTreesFunction · 0.90
ReorderableTableExampleFunction · 0.90

Calls

no outgoing calls

Tested by 1

TabNavTableFunction · 0.72