pdf-annotator-react
Version:
A React component library for PDF annotation
20 lines (19 loc) • 622 B
TypeScript
import React from 'react';
import { Annotation } from '../types';
import { CompetenciaWithTags } from 'lingapp-revisao-redacao';
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?: CompetenciaWithTags[];
viewOnly?: boolean;
onAnnotationsChange?: (annotations: Annotation[]) => void;
}
export declare const AnnotationDetails: React.FC<AnnotationDetailsProps>;
export {};