Merge OHIFViewer-react into Packages-react\ohif-viewer (#342)
* Added public directory and debug run code in index.js * Different entry points for development and publish * Add port to start debug script * Merge in progress * Merge in progress * Merge in progress * Merged last components
This commit is contained in:
1 parent
80df33f4fd
commit
84c949f2e6
52 files changed
+1350
-230
No files matched your search
@@ -13,5 +13,6 @@ body {
|
||||
padding: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: Roboto,OpenSans,HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
|
||||
font-family: Roboto, OpenSans, HelveticaNeue-Light, Helvetica Neue Light,
|
||||
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
class ExampleViewportPlugin extends Component {
|
||||
@@ -14,7 +14,8 @@ class ExampleViewportPlugin extends Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
return (<div className="ExampleViewportPlugin">
|
||||
return (
|
||||
<div className="ExampleViewportPlugin">
|
||||
<p>StudyInstanceUid: {this.props.studyInstanceUid}</p>
|
||||
<p>SeriesInstanceUid: {this.props.seriesInstanceUid}</p>
|
||||
{JSON.stringify(this.props.displaySet)}
|
||||
|
||||
@@ -23,7 +23,7 @@ class ToolbarRow extends Component {
|
||||
|
||||
static defaultProps = {
|
||||
leftSidebarOpen: false,
|
||||
rightSidebarOpen: false,
|
||||
rightSidebarOpen: false
|
||||
};
|
||||
|
||||
onLeftSidebarValueChanged = (value) => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import PropTypes from "prop-types";
|
||||
|
||||
import Header from '../components/Header'
|
||||
import ConnectedFlexboxLayout from './ConnectedFlexboxLayout.js';
|
||||
import ConnectedToolbarRow from "./ConnectedToolbarRow";
|
||||
import ConnectedToolbarRow from './ConnectedToolbarRow';
|
||||
import ConnectedStudyLoadingMonitor from './ConnectedStudyLoadingMonitor.js';
|
||||
import StudyPrefetcher from '../components/StudyPrefetcher.js';
|
||||
import './Viewer.css';
|
||||
@@ -46,9 +46,9 @@ OHIF.viewer.functionList = {
|
||||
};*/
|
||||
|
||||
class Viewer extends Component {
|
||||
static propTypes = {
|
||||
studies: PropTypes.array,
|
||||
};
|
||||
static propTypes = {
|
||||
studies: PropTypes.array
|
||||
};
|
||||
|
||||
render() {
|
||||
return (<>
|
||||
|
||||
Reference in new issue
Block a user