@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
26 lines (22 loc) • 533 B
JavaScript
/**
* MSKCC 2021, 2024
*/
import cx from 'classnames';
import React__default from 'react';
import PropTypes from 'prop-types';
const MainContent = _ref => {
let {
children,
className
} = _ref;
const cls = cx('msk-dashboard-layout--content', className);
return /*#__PURE__*/React__default.createElement("div", {
className: cls
}, children);
};
MainContent.displayName = 'MainContent';
MainContent.propTypes = {
children: PropTypes.node.isRequired,
className: PropTypes.string
};
export { MainContent };