@kwiz/fluentui
Version:
KWIZ common controls for FluentUI
8 lines (7 loc) • 351 B
TypeScript
import { ConnectDropTarget } from 'react-dnd';
import { iDraggedItemType, iDroppableProps } from './drag-drop.types';
export declare function useDroppable<DropType extends string, ItemType extends iDraggedItemType<DropType>>(props?: iDroppableProps<DropType, ItemType>): {
canDrop: boolean;
isOver: boolean;
dropRef: ConnectDropTarget;
};