UNPKG

react-pdf-ner-annotator

Version:

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

9 lines (8 loc) 277 B
/// <reference types="react" /> import { Rectangle } from 'tesseract.js'; interface Props { isDragging: boolean; coordinates: Rectangle; } declare const SelectionRectangle: ({ isDragging, coordinates }: Props) => JSX.Element; export default SelectionRectangle;