UNPKG

@lunit/insight-viewer

Version:

Based on the cornerstone library, it provides several components for handling Dicom images

24 lines (23 loc) 1.09 kB
import React from 'react'; import type { Point } from '../../types'; import type { Annotation, EditMode, TextAnnotation } from '../../types'; interface AnnotationDrawerProps { width?: string | number; height?: string | number; style?: React.CSSProperties; annotation: Annotation | null; selectedAnnotation?: Annotation | null; movedStartPoint: Point | null; drawingStartPoint: Point | null; isSelectedAnnotation: boolean; showAnnotationLabel: boolean; editMode: EditMode | null; /** * TextAnnotation 개편 시, 해당 props 및 로직은 삭제 필요 */ tempAnnotation?: TextAnnotation; onFinishTempAnnotationTyping: (text: string) => void; updateEditMode: (editMode: EditMode) => void; } export declare function AnnotationDrawer({ width, height, style, annotation, selectedAnnotation, movedStartPoint, drawingStartPoint, isSelectedAnnotation, showAnnotationLabel, editMode, tempAnnotation, updateEditMode, onFinishTempAnnotationTyping, }: AnnotationDrawerProps): React.JSX.Element | null; export {};