import type { FC, MouseEvent } from 'react'; import React, { useContext } from 'react'; import { context, Link, NavLink } from 'dumi/theme'; import LocaleSelect from './LocaleSelect'; import './Navbar.less'; interface INavbarProps { location: any; navPrefix?: React.ReactNode; onMobileMenuClick: (ev: MouseEvent) => void; } const Navbar: FC = ({ onMobileMenuClick, navPrefix, location }) => { const { base, config: { mode, title, logo }, nav: navItems, } = useContext(context); return (
{/* menu toogle button (only for mobile) */}
); }; export default Navbar;