import { type ReactNode } from "react" interface PageHeaderProps { title: ReactNode description?: ReactNode /** Inline indicators after the title (badges, status pills). */ badges?: ReactNode /** Toolbar rendered below the title row — primary actions go here. */ actions?: ReactNode } // Right-side space for the appbar's floating actions pill is reserved by // the AppShell's first-child padding rule, not here — keep this layout // concerned only with title/description/actions composition. export function PageHeader({ title, description, badges, actions, }: PageHeaderProps) { return (

{title}

{badges}
{description ? (

{description}

) : null} {actions ? (
{actions}
) : null}
) }