ohif-viewer/Packages-react/ohif-viewer
2019-01-17 17:00:21 +01:00
..
dist 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
example 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
src 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
.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
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 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
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 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
yarn.lock 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

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