UNPKG

react-pdf-ner-annotator

Version:

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

15 lines (14 loc) 286 B
declare type EntityType = 'NER' | 'AREA'; export interface Entity { id: number; name: string; color: string; entityType: EntityType; regex?: RegExp; index?: number; } export interface IEntityHover { id: number; index?: number; } export {};