@labelu/image-annotator-react
Version:
image annotator for react
11 lines • 480 B
TypeScript
/// <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