import type { ReactNode } from 'react'; export interface CloserProps { /** The heading — white on the brand teal is legal at heading sizes only. */ title: string; /** One line of support copy, kept at heading scale. */ support?: string; /** One white outline control. */ action: ReactNode; className?: string; } export function Closer({ title, support, action, className }: CloserProps) { return (

{title}

{support !== undefined &&

{support}

} {action}
); }