import type { ReactNode } from "react"; import { Stack, Typography } from "@mui/material"; import { cn } from "@/lib/utils"; type PageHeaderProps = { eyebrow?: string; title: string; subtitle?: string; actions?: ReactNode; className?: string; /** White surface bar (list page headers). */ surface?: boolean; }; export function PageHeader({ eyebrow, title, subtitle, actions, className, surface = false, }: PageHeaderProps) { return ( {eyebrow && (

{eyebrow}

)}

{title}

{subtitle && ( {subtitle} )}
{actions && ( {actions} )}
); }