Skip to content

Commit

Permalink
fix: add ViewportOverlay as a named export (#11)
Browse files Browse the repository at this point in the history
Adds `ViewportOverlay` as a named export of the package, additionally to the default export of `CornerstoneViewport`.

Explicit export would allow downstream users to import and use `ViewportOverlay` separately in their projects (e.g. in OHIF/Viewers extensions or customized overlays).
  • Loading branch information
ivan-aksamentov authored and dannyrb committed Oct 8, 2019
1 parent 6306ce6 commit c55c94c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import './metadataProvider.js';
import CornerstoneViewport from './CornerstoneViewport/CornerstoneViewport.js';

import ViewportOverlay from './ViewportOverlay/ViewportOverlay';

export { ViewportOverlay };

export default CornerstoneViewport;

0 comments on commit c55c94c

Please sign in to comment.