UNPKG

@dnd-kit/core

Version:

dnd kit – a lightweight React library for building performant and accessible drag and drop experiences

15 lines (14 loc) 522 B
import type { ClientRect } from '../../../types'; import type { DraggableNode } from '../../../store'; import type { MeasuringFunction } from '../types'; interface Options { activeNode: DraggableNode | null | undefined; config: boolean | { x: boolean; y: boolean; } | undefined; initialRect: ClientRect | null; measure: MeasuringFunction; } export declare function useLayoutShiftScrollCompensation({ activeNode, measure, initialRect, config, }: Options): void; export {};