import type { ReactNode } from "react"; import "@shared/components/PanelHeader.css"; export interface PanelHeaderProps { title: ReactNode; /** Sub-heading below the title. */ subtitle?: ReactNode; /** Show a back chevron and trigger this callback when clicked. */ onBack?: () => void; /** Right-aligned action buttons / chips. */ actions?: ReactNode; className?: string; } /** * Header strip used by drill-down panels (admin tabs, agent detail, settings * sub-pages). Back chevron renders only when `onBack` is supplied. */ export function PanelHeader({ title, subtitle, onBack, actions, className, }: PanelHeaderProps) { return (