@recogito/annotorious
Version:
A JavaScript image annotation library
9 lines • 526 B
TypeScript
import { ReactElement } from 'react';
import { AnnotoriousOpts, DrawingTool } from '@annotorious/annotorious';
import type { ImageAnnotation } from '@annotorious/annotorious';
export interface ImageAnnotatorProps<E extends unknown> extends AnnotoriousOpts<ImageAnnotation, E> {
children: ReactElement<HTMLImageElement>;
tool?: DrawingTool;
}
export declare const ImageAnnotator: <E extends unknown>(props: ImageAnnotatorProps<E>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ImageAnnotator.d.ts.map