import { Location } from "history"; import * as React from "react"; import { withRouter } from "react-router"; import { Link } from "react-router-dom"; import { Menu } from "semantic-ui-react"; interface NavItemProps { to: string; children: React.ReactNode; } function NavItem({ to, children }: NavItemProps) { return {children}; } function NavBar({ location }: { location: Location }) { return ( Device grinklers Messages test ); } export default withRouter(NavBar);