UNPKG

pdf-annotator-react

Version:
19 lines (18 loc) 570 B
import React from 'react'; import { Annotation, CustomCategory } from '../types'; interface AnnotationDetailsProps { annotation: Annotation; onUpdate: (id: string, updates: Partial<Annotation>) => void; onDelete: (id: string) => void; onClose: () => void; position?: { x: number; y: number; }; isNew?: boolean; customCategories?: CustomCategory[]; viewOnly?: boolean; onAnnotationsChange?: (annotations: Annotation[]) => void; } export declare const AnnotationDetails: React.FC<AnnotationDetailsProps>; export {};