UNPKG

@reactodia/workspace

Version:

Reactodia Workspace -- library for visual interaction with graphs in a form of a diagram.

11 lines 568 B
import * as React from 'react'; import type { DockDirection } from './viewportDock'; export interface DraggableHandleProps extends React.HTMLAttributes<HTMLDivElement> { dock?: DockDirection; axis?: 'x' | 'y' | 'all'; onBeginDragHandle: (e: React.MouseEvent<HTMLDivElement>) => void; onDragHandle: (e: MouseEvent, dx: number, dy: number) => void; onEndDragHandle?: (e: MouseEvent) => void; } export declare function DraggableHandle(props: DraggableHandleProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=draggableHandle.d.ts.map