ohif-viewer/extensions/dicom-pdf/src/OHIFComponentPlugin.js

16 lines
376 B
JavaScript
Raw Normal View History

2019-04-16 18:00:06 +02:00
import React from 'react';
import PropTypes from "prop-types";
function OHIFComponentPlugin(props) {
return (<React.Fragment>{props.children}</React.Fragment>);
}
OHIFComponentPlugin.propTypes = {
id: PropTypes.string.isRequired,
init: PropTypes.func.isRequired,
destroy: PropTypes.func.isRequired,
children: PropTypes.node
};
export default OHIFComponentPlugin;