Files
coopgo/node_modules/react-dnd/lib/hooks/useDrop/DropTargetImpl.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

12 lines
422 B
TypeScript

import { DropTarget } from 'dnd-core';
import { DropTargetMonitor } from '../../types';
import { DropTargetHookSpec } from '../types';
export declare class DropTargetImpl<O, R, P> implements DropTarget {
spec: DropTargetHookSpec<O, R, P>;
private monitor;
constructor(spec: DropTargetHookSpec<O, R, P>, monitor: DropTargetMonitor<O, R>);
canDrop(): boolean;
hover(): void;
drop(): R | undefined;
}