Files
homelab-topology/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts

18 lines
552 B
TypeScript

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