@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
14 lines (13 loc) • 833 B
TypeScript
import * as React from 'react';
import { DropResult, Draggable, DroppableProps, DragDropContextProps } from '@adaptabletools/react-beautiful-dnd';
/**
* We're doing all this because the placeholder is not correctly displayed in react-beautiful-dnd
* with React 19.
* So we make sure it properly occupies the space of the dragged item, so the
* container won't flicker when we're dragging an item (as the drag item receives
* position: fixed while dragging, so content does not have the initial height anymore, therefore,
* the placeholder is included, with the computed height of the dragging element)
*/
declare const Droppable: (props: DroppableProps) => React.JSX.Element;
declare const DragDropContext: (props: DragDropContextProps) => React.JSX.Element;
export { type DropResult, Draggable, Droppable, DragDropContext };