react-pdf-ner-annotator
Version:
A React component to annotate named entities directly onto a PDF.
11 lines (10 loc) • 405 B
TypeScript
/// <reference types="react" />
import { Annotation } from '../../interfaces/annotation';
interface Props {
pdfScale: number;
annotation: Annotation;
removeAnnotation: (id: number) => void;
updateAnnotation: (annotation: Annotation) => void;
}
declare const AreaMark: ({ pdfScale, annotation, removeAnnotation, updateAnnotation }: Props) => JSX.Element;
export default AreaMark;