import type { ReactNode } from "react"; interface Props { title: string; subtitle?: string; right?: ReactNode; children: ReactNode; } export function Section({ title, subtitle, right, children }: Props) { return (

{title}

{subtitle ? (

{subtitle}

) : null}
{right ?
{right}
: null}
{children}
); }