import NavbarCollapsed from "./NavbarCollapsed";
import NavbarFull from "./NavbarFull";

interface Props {
  isLoggedIn: boolean;
  isCollapsed?: boolean;
}

export default function Navbar({ isLoggedIn, isCollapsed = false }: Props) {
  return isCollapsed ? <NavbarCollapsed isLoggedIn={isLoggedIn} /> : <NavbarFull isLoggedIn={isLoggedIn} />;
}
