import type { ReactElement, ReactNode } from "react"; export interface SectionHeaderProps { title: string; subtitle?: string; actions?: ReactNode; className?: string; } export function SectionHeader({ title, subtitle, actions, className = "", }: SectionHeaderProps): ReactElement { return (
{title}
{subtitle !== undefined && (
{subtitle}
)}
{actions !== undefined && (
{actions}
)}
); }