diff --git a/platform/ui/src/components/NavBar/NavBag.jsx b/platform/ui/src/components/NavBar/NavBag.jsx index bf5550e8a..0b18b6730 100644 --- a/platform/ui/src/components/NavBar/NavBag.jsx +++ b/platform/ui/src/components/NavBar/NavBag.jsx @@ -1,7 +1,23 @@ import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; -const NavBag = ({}) => { - return <>; +const NavBag = ({ className, children }) => { + return ( +
+ {children} +
+ ); +}; + +NavBag.propTypes = { + className: PropTypes.string, + children: PropTypes.node, }; export default NavBag; diff --git a/platform/ui/src/views/StudyList/components/Header.js b/platform/ui/src/views/StudyList/components/Header.js index ab6b972a7..43afbeaf6 100644 --- a/platform/ui/src/views/StudyList/components/Header.js +++ b/platform/ui/src/views/StudyList/components/Header.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; -import { IconButton, Icon } from '@ohif/ui'; +import { IconButton, Icon, NavBar } from '@ohif/ui'; import OHIFLogo from './OHIFLogo.js'; @@ -12,7 +12,7 @@ function Header({ appLogo = OHIFLogo(), children, t }) { }; return ( -
+
{appLogo}
{children}
@@ -33,7 +33,7 @@ function Header({ appLogo = OHIFLogo(), children, t }) {
-
+ ); }