UNPKG

pdf-annotator-react

Version:
20 lines (19 loc) 646 B
import React from 'react'; import { Annotation, Point, AnnotationMode } from '../types'; interface AnnotationLayerProps { annotations: Annotation[]; pageIndex: number; scale: number; onAnnotationClick?: (annotation: Annotation, event?: React.MouseEvent) => void; activeDrawingPoints?: Point[]; isDrawing?: boolean; drawingColor?: string; drawingThickness?: number; selectedAnnotation?: Annotation | null; currentMode?: AnnotationMode; startPoint?: Point | null; originalWidth?: number; originalHeight?: number; } export declare const AnnotationLayer: React.FC<AnnotationLayerProps>; export {};