import { ReactNode } from "react" import { AppContent } from "./ui/app-content" import { Label } from "./ui/label" type PageHeaderProps = { title: ReactNode subtitle?: string actions?: ReactNode children?: ReactNode image?: ReactNode contentWidth?: number showDivider?: boolean } const PageHeader = ({ title, subtitle, actions, children, image, showDivider = true, }: PageHeaderProps) => { return (
{subtitle && (
{subtitle}
)}
{actions}
{image}
{children && (
{showDivider &&
} {children}
)}
) } PageHeader.displayName = "PageHeader" export { PageHeader }