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