@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration
Version:
An optional Pragmatic drag and drop package that enables rapid migration from react-beautiful-dnd to Pragmatic drag and drop
8 lines (7 loc) • 336 B
TypeScript
import type { DraggableStateSnapshot, DroppableId, MovementMode } from 'react-beautiful-dnd';
export declare function useDraggableStateSnapshot({ draggingOver, isClone, isDragging, mode, }: {
draggingOver: DroppableId | null;
isClone: boolean;
isDragging: boolean;
mode: MovementMode | null;
}): DraggableStateSnapshot;