"use client"; import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; export function PageHeader({ title, description, actions, tabs, activeTab, onTabChange, }: { title: string; description?: string; actions?: React.ReactNode; tabs?: { id: string; label: string }[]; activeTab?: string; onTabChange?: (id: string) => void; }) { return (

{title}

{description && (

{description}

)}
{actions && (
{actions}
)}
{tabs && tabs.length > 0 && ( {tabs.map((t) => ( {t.label} ))} )}
); }