'use client' import Link from 'next/link' import { ArrowLeft } from 'lucide-react' import { Button } from '@/components/ui/button' interface PageHeaderProps { title: string subtitle?: string backHref?: string backLabel?: string rightContent?: React.ReactNode } export function PageHeader({ title, subtitle, backHref, backLabel = 'Back', rightContent, }: PageHeaderProps) { return (
{backHref && ( )}

{title}

{subtitle &&

{subtitle}

}
{rightContent &&
{rightContent}
}
) }