@gamesberry/karmyc-core
Version:
A flexible and powerful layout management system for React applications
7 lines (6 loc) • 509 B
TypeScript
import { Dispatch, SetStateAction } from 'react';
import { ResizePreviewState } from "../../types/areaTypes";
import { IntercardinalDirection } from "../../types/directions";
import type { Rect } from "../../types";
export declare const handleAreaDragFromCorner: (e: MouseEvent, corner: IntercardinalDirection, areaId: string, viewport: Rect, // Initial viewport of the dragged area
setResizePreview: Dispatch<SetStateAction<ResizePreviewState | null>>, setAreaResizing: (resizing: boolean) => void) => void;