* fix(measurements): Add measurement table functions - Support for labeling measurements and adding measurement description - Jump to measurement when clicked on measurement table * fix(layout): Fix the issues with layout when switched with different plugins * fix(measurements): Support for deleting measurements in measurement table * fix(measurements): Add context menu for measurements * fix(dependencies): Bump ohif-core to 0.4.2
24 lines
467 B
JavaScript
24 lines
467 B
JavaScript
import React, { Component } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import LabellingManager from '../components/Labelling/LabellingManager'
|
|
|
|
class LabellingOverlay extends Component {
|
|
static propTypes = {
|
|
visible: PropTypes.bool.isRequired,
|
|
}
|
|
|
|
static defaultProps = {
|
|
visible: false,
|
|
}
|
|
|
|
render() {
|
|
if (!this.props.visible) {
|
|
return null
|
|
}
|
|
|
|
return <LabellingManager {...this.props} />
|
|
}
|
|
}
|
|
|
|
export default LabellingOverlay
|