ohif-viewer/Packages-react/ohif-viewer
2019-01-25 16:54:10 +01:00
..
example Add ability to easily change the standalone viewer logo (0.0.6) 2019-01-24 14:00:01 +01:00
src Add DICOM PDF plugin 2019-01-25 16:54:10 +01:00
.babelrc Add ohif-viewer package to work on sharing components across viewers and test the standalone viewer via script tag 2019-01-17 17:00:21 +01:00
.gitignore Add ability to easily change the standalone viewer logo (0.0.6) 2019-01-24 14:00:01 +01:00
generateStaticSite.sh Add ohif-viewer package to work on sharing components across viewers and test the standalone viewer via script tag 2019-01-17 17:00:21 +01:00
LICENSE Add ohif-viewer package to work on sharing components across viewers and test the standalone viewer via script tag 2019-01-17 17:00:21 +01:00
package.json Add ability to easily change the standalone viewer logo (0.0.6) 2019-01-24 14:00:01 +01:00
README.md Add ohif-viewer package to work on sharing components across viewers and test the standalone viewer via script tag 2019-01-17 17:00:21 +01:00
rollup.config.js Fixes for Standalone OpenID Connect usage 2019-01-24 10:22:40 +01:00
yarn.lock Fixes for Standalone OpenID Connect usage 2019-01-24 10:22:40 +01:00

react-viewerbase

A set of React components for Medical Imaging Viewers.

Status: Under development

NPM

Install

npm install --save react-viewerbase

Usage

import React, { Component } from 'react'

import CornerstoneViewport from 'react-viewerbase'

class Example extends Component {
  render () {
    return (
      <CornerstoneViewport />
    )
  }
}

To run locally

  1. Clone this repository and build the library
  2. cd react-viewerbase
  3. yarn install
  4. yarn start
  5. Open a new terminal (or tab) and build the example application.
  6. cd example
  7. yarn install
  8. yarn start

License

MIT © OHIF