import React from "react" ; import { WidgetLogo } from "../../widget" ; import { AccountContext } from "../../account" ; import "./LayoutHeader.scss" ; import { RouteComponentProps } from "react-router-dom" ; const LayoutHeader = props => { return ( < header className = "header" > < nav className = "header-content" > < div className = "logo-container" > < WidgetLogo /> { } < /div> < div className = "context-container" > < AccountContext { ... props } / > < /div> { } < /nav> < /header>); } ; export { LayoutHeader } ;