import React, { FC, useState } from 'react'; import { Link } from '@reach/router'; import { Collapse, Navbar, NavbarToggler, Nav, NavItem, NavLink, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem, } from 'reactstrap'; import { usePathPrefix } from './contexts/PathPrefixContext'; import { ThemeToggle } from './Theme'; interface NavbarProps { consolesLink: string | null; } const Navigation: FC = ({ consolesLink }) => { const [isOpen, setIsOpen] = useState(false); const toggle = () => setIsOpen(!isOpen); const pathPrefix = usePathPrefix(); return ( Prometheus ); }; export default Navigation;