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

Function useDragAndDrop

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

Source from the content-addressed store, hash-verified

36 * collection component.
37 */
38export function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDrop<T> {
39 return useRACDragAndDrop(options);
40}

Callers 15

DraggableTreeViewFunction · 0.90
DraggableListViewFunction · 0.90
DroppableTableViewFunction · 0.90
DraggableTableViewFunction · 0.90
DroppableTreeViewFunction · 0.90
DroppableListViewFunction · 0.90
ExampleFunction · 0.90
DraggableListViewFunction · 0.90
ExampleFunction · 0.90
TabNavTableFunction · 0.90
DraggableTableFunction · 0.90
DraggableTreeFunction · 0.90

Calls

no outgoing calls

Tested by 6

ExampleFunction · 0.72
DraggableListViewFunction · 0.72
ExampleFunction · 0.72
TabNavTableFunction · 0.72
DraggableTableFunction · 0.72
DraggableTreeFunction · 0.72