import type { ReactNode } from "react"; type PageHeadingProps = { title: string; description?: string; eyebrow?: string; leading?: ReactNode; actions?: ReactNode; }; /** A flat, shared page title. Panels belong to the content below it. */ export default function PageHeading({ title, description, eyebrow, leading, actions }: PageHeadingProps) { return (
{leading &&
{leading}
}
{eyebrow && {eyebrow}}

{title}

{description &&

{description}

}
{actions &&
{actions}
}
); }