react-dnd
Version:
Drag and Drop for React
5 lines (4 loc) • 344 B
TypeScript
import type { TargetConnector } from '../../internals/index.js';
import type { DropTargetMonitor } from '../../types/index.js';
import type { DropTargetHookSpec } from '../types.js';
export declare function useRegisteredDropTarget<O, R, P>(spec: DropTargetHookSpec<O, R, P>, monitor: DropTargetMonitor<O, R>, connector: TargetConnector): void;