UNPKG

@labelu/image-annotator-react

Version:
11 lines 480 B
/// <reference types="react" /> import type { AllAnnotationMapping } from './annotation.context'; export interface HistoryContextType { redo: () => void; undo: () => void; pastRef: React.RefObject<AllAnnotationMapping[]>; futureRef: React.RefObject<AllAnnotationMapping[]>; } export declare const HistoryContext: import("react").Context<HistoryContextType>; export declare function useHistoryCtx(): HistoryContextType; //# sourceMappingURL=history.context.d.ts.map