@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
15 lines (14 loc) • 595 B
TypeScript
import type { DroppableId } from 'react-beautiful-dnd';
import type { DroppableRegistry } from '../drag-drop-context/droppable-registry';
/**
* This is similar to the function of the same name in `react-beautiful-dnd`.
*
* Many of the checks from rbd are removed though, such as visibility checks.
*/
export declare function getBestCrossAxisDroppable({ droppableId, type, isMovingForward, contextId, droppableRegistry, }: {
droppableId: DroppableId;
type: string;
isMovingForward: boolean;
contextId: string;
droppableRegistry: DroppableRegistry;
}): HTMLElement | null;