You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
521 B
6 lines
521 B
import { DragObjectWithType, DropTargetMonitor, DropTargetHookSpec } from '../../interfaces';
|
|
import { MutableRefObject } from 'react';
|
|
import { TargetConnector } from '../../common/TargetConnector';
|
|
export declare function useDropTargetMonitor(): [DropTargetMonitor, TargetConnector];
|
|
export declare function useDropHandler<DragObject extends DragObjectWithType, DropResult, CustomProps>(spec: MutableRefObject<DropTargetHookSpec<DragObject, DropResult, CustomProps>>, monitor: DropTargetMonitor, connector: any): void;
|