@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
9 lines (8 loc) • 389 B
TypeScript
import type { Annotation } from '../../../types';
interface RemoveAnnotationParams {
annotations: Annotation[];
onRemove?: (annotation: Annotation) => Annotation | null;
onChange?: (annotations: Annotation[]) => void;
}
export declare const removeAnnotation: ({ annotations, onRemove, onChange }: RemoveAnnotationParams) => (annotation: Annotation) => void;
export {};