import { ReactElement } from "react"; import { Separator } from "src/components/ui/separator"; import { SidebarTrigger } from "src/components/ui/sidebar"; type Props = { icon?: React.ReactElement; title: string | ReactElement; description?: string | ReactElement; contentRight?: React.ReactNode; breadcrumb?: boolean; addSidebarTrigger?: boolean; pageTitle?: string; }; function AppHeader({ icon, title, description = "", contentRight, addSidebarTrigger = true, pageTitle, }: Props) { return ( <> {pageTitle &&
{description}
)}