import type { ReactNode } from "react"; import { AppShellHeader, Group, UnstyledButton } from "@mantine/core"; import { Link } from "@homarr/ui"; import { ClientBurger } from "./header/burger"; import { DesktopSearchInput, MobileSearchButton } from "./header/search"; import { TourTarget } from "./header/tour-target"; import { UserButton } from "./header/user"; import { HomarrLogoWithTitle } from "./logo/homarr-logo"; import { LazySpotlight } from "./header/lazy-spotlight"; interface Props { logo?: ReactNode; actions?: ReactNode; hasNavigation?: boolean; } export const MainHeader = ({ logo, actions, hasNavigation = true }: Props) => { return ( ); }; export const MainHeaderContent = ({ logo, actions, hasNavigation = true }: Props) => ( <> {hasNavigation && } {logo ?? } {actions} );