How to use the @ohif/ui.withDialog function in @ohif/ui

To help you get started, weā€™ve selected a few @ohif/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OHIF / Viewers / platform / viewer / src / connectedComponents / Viewer.js View on Github external
{/* RIGHT */}
          
            {VisiblePanelRight && (
              
            )}
          
        
      
    );
  }
}

export default withDialog(Viewer);

/**
 * What types are these? Why do we have "mapping" dropped in here instead of in
 * a mapping layer?
 *
 * TODO[react]:
 * - Add sorting of display sets
 * - Add showStackLoadingProgressBar option
 *
 * @param {Study[]} studies
 * @param {DisplaySet[]} studies[].displaySets
 */
const _mapStudiesToThumbnails = function(studies) {
  return studies.map(study => {
    const { studyInstanceUid } = study;

@ohif/ui

A set of React components for Medical Imaging Viewers

MIT
Latest version published 15 days ago

Package Health Score

80 / 100
Full package analysis

Similar packages