@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
12 lines (11 loc) • 541 B
TypeScript
import React from 'react';
import type { Annotation } from '../../types';
export interface AnnotationViewerProps {
annotation: Annotation;
showOutline: boolean;
showAnnotationLabel: boolean;
hoveredAnnotation?: Annotation | null;
onHover?: (annotation: Annotation | null) => void;
onClick?: (annotation: Annotation) => void;
}
export declare function AnnotationViewer({ annotation, showOutline, showAnnotationLabel, hoveredAnnotation, onHover, onClick, }: AnnotationViewerProps): React.JSX.Element | null;