import React from "react"; // ─── SectionHeader ───────────────────────────────────── // Page headings use consistent typography, supporting text, and actions. interface SectionHeaderProps { /** Section title */ title: string; /** Optional section description / subtitle */ description?: React.ReactNode; /** Optional action element (button, link, etc.) */ action?: React.ReactNode; /** Additional CSS class */ className?: string; /** Additional inline styles */ style?: React.CSSProperties; } export function SectionHeader({ title, description, action, className = "", style, }: SectionHeaderProps) { return (

{title}

{description && (

{description}

)}
{action &&
{action}
}
); }