import { ReactNode } from "react"; import Link from "next/link"; interface Props { title: string; subtitle?: string; backHref?: string; actions?: ReactNode; } export function PageHeader({ title, subtitle, backHref = "/menu", actions }: Props) { return (

{title}

{subtitle &&

{subtitle}

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