@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
14 lines (13 loc) • 512 B
TypeScript
import React from 'react';
import type { DraggableChildrenFn, DroppableId } from 'react-beautiful-dnd';
/**
* Wrapper that is always rendered if there is a `renderClone` function.
*
* It sets up a monitor, and needs to observe the entire lifecycle.
*/
export declare function DraggableClone({ children, droppableId, type, getContainerForClone, }: {
children: DraggableChildrenFn;
droppableId: DroppableId;
type: string;
getContainerForClone?: () => HTMLElement;
}): React.JSX.Element | null;