Rocky_Mountain_Vending/.pnpm-store/v10/files/c4/4387e194d8bf39eb158ee35324904361e3d072823ccbbf4c4ac331b265ea8b9e10a518d06e2e917f9555a9297f2c9955e4614339473e420b7d134ae2923140
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

36 lines
1.2 KiB
Text

import { type RefObject } from 'react';
import { type Corners } from '../../../shared';
export type ResizeDirection = 'top' | 'right' | 'bottom' | 'left' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
interface ResizeContextValue {
resizeRef: RefObject<HTMLElement | null>;
minWidth: number;
minHeight: number;
maxWidth?: number;
maxHeight?: number;
draggingDirection: ResizeDirection | null;
setDraggingDirection: (direction: ResizeDirection | null) => void;
storageKey: string;
}
interface ResizeProviderProps {
value: {
resizeRef: RefObject<HTMLElement | null>;
minWidth?: number;
minHeight?: number;
maxWidth?: number;
maxHeight?: number;
devToolsPosition: Corners;
devToolsPanelSize: Record<string, {
width: number;
height: number;
}>;
storageKey?: string;
initialSize?: {
height: number;
width: number;
};
};
children: React.ReactNode;
}
export declare const ResizeProvider: ({ value, children }: ResizeProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useResize: () => ResizeContextValue;
export {};