UNPKG

pdf-annotator-react

Version:
13 lines (12 loc) 925 B
import './styles/tailwind.css'; export { PdfAnnotator, getAnnotationsJSON } from './PdfAnnotator'; export type { PdfAnnotatorRef } from './PdfAnnotator'; export { PdfPage } from './components/PdfPage'; export { AnnotationLayer } from './components/AnnotationLayer'; export { ToolBar } from './components/ToolBar'; export { AnnotationDetails } from './components/AnnotationDetails'; export { CommentPopup } from './components/CommentPopup'; export { useAnnotations } from './hooks/useAnnotations'; export { AnnotationType, AnnotationMode } from './types'; export type { Point, AnnotationRect, Annotation, AnnotationEventCallbacks, PDFAnnotatorProps, CategoryItem, CustomCategory, TagInterface } from './types'; export { createAnnotation, getAnnotationColor, annotationModeToType, calculateRectFromPoints, pointsToSvgPath, DEFAULT_CATEGORY_COLORS, getCategoryColor, getCategoryDisplayName, annotationsToJSON, } from './utils';