@matthewgapp/solidjs-flow
Version:
React Flow - A highly customizable React library for building node-based editors and interactive flow charts.
16 lines • 589 B
TypeScript
type UseDragParams = {
nodeRef?: () => HTMLDivElement | undefined;
disabled?: () => boolean;
noDragClassName?: () => string | undefined;
handleSelector?: () => string | undefined;
nodeId?: () => string | undefined;
isSelectable?: () => boolean | undefined;
};
/**
* Hook for calling XYDrag helper from @xyflow/system.
*
* @internal
*/
export declare function useDrag({ nodeRef, disabled: getDisabled, noDragClassName, handleSelector, nodeId, isSelectable, }: UseDragParams): import("solid-js").Accessor<boolean>;
export {};
//# sourceMappingURL=useDrag.d.ts.map