UNPKG

@lunit/insight-viewer

Version:

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

12 lines (11 loc) 379 B
import { MutableRefObject } from 'react'; import { Element, Viewport, OnViewportChange } from '../../types'; import { Image } from '../../Viewer/types'; export interface UseImageDisplay { (prop: { element: Element; image: Image; viewportRef: MutableRefObject<Partial<Viewport>>; onViewportChange?: OnViewportChange; }): void; }