Skip to content

Commit

Permalink
chore(exports): Exposes hydration functions from seg and rt extensions (
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobasilio2022 authored Aug 9, 2023
1 parent ca1287d commit b55518e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/cornerstone-dicom-rt/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { id } from './id';
import React from 'react';
import { Types } from '@ohif/core';
import getSopClassHandlerModule from './getSopClassHandlerModule';
import hydrateRTDisplaySet from './utils/_hydrateRT';

const Component = React.lazy(() => {
return import(
Expand Down Expand Up @@ -61,3 +62,4 @@ const extension: Types.Extensions.Extension = {
};

export default extension;
export { hydrateRTDisplaySet };
2 changes: 2 additions & 0 deletions extensions/cornerstone-dicom-seg/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Types } from '@ohif/core';
import getSopClassHandlerModule from './getSopClassHandlerModule';
import PanelSegmentation from './panels/PanelSegmentation';
import getHangingProtocolModule from './getHangingProtocolModule';
import hydrateSEGDisplaySet from './utils/_hydrateSEG';

const Component = React.lazy(() => {
return import(
Expand Down Expand Up @@ -90,3 +91,4 @@ const extension = {
};

export default extension;
export { hydrateSEGDisplaySet };

0 comments on commit b55518e

Please sign in to comment.