UNPKG

@xyflow/react

Version:

React Flow - A highly customizable React library for building node-based editors and interactive flow charts.

18 lines 552 B
import { type RefObject } from 'react'; type UseDragParams = { nodeRef: RefObject<HTMLDivElement>; disabled?: boolean; noDragClassName?: string; handleSelector?: string; nodeId?: string; isSelectable?: boolean; nodeClickDistance?: number; }; /** * Hook for calling XYDrag helper from @xyflow/system. * * @internal */ export declare function useDrag({ nodeRef, disabled, noDragClassName, handleSelector, nodeId, isSelectable, nodeClickDistance, }: UseDragParams): boolean; export {}; //# sourceMappingURL=useDrag.d.ts.map