UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

12 lines (11 loc) 634 B
import { CanvasElements, BackgroundState, HistoryState } from '../types'; export declare const useCanvasState: (initialState: CanvasElements, backgroundState: BackgroundState, setBackgroundState: React.Dispatch<React.SetStateAction<BackgroundState>>) => { canvasElements: CanvasElements; setCanvasElements: import('react').Dispatch<import('react').SetStateAction<CanvasElements>>; history: HistoryState; setHistory: import('react').Dispatch<import('react').SetStateAction<HistoryState>>; saveStateToHistory: () => void; undo: () => void; redo: () => void; }; //# sourceMappingURL=use-canvas-state.d.ts.map