UNPKG

react-pdf-ner-annotator

Version:

A React component to annotate named entities directly onto a PDF.

10 lines (9 loc) 365 B
/// <reference types="react" /> import { Annotation } from '../../interfaces/annotation'; interface Props { showInput: boolean; annotation: Annotation; updateAnnotation: (annotation: Annotation) => void; } declare const AreaTextAnnotation: ({ showInput, annotation, updateAnnotation }: Props) => JSX.Element; export default AreaTextAnnotation;