import React, { ReactNode } from 'react'; import { Stack } from './Stack'; import { Text } from './Text'; interface FormSectionProps { children: ReactNode; title?: string; } /** * FormSection * * Groups related form fields with an optional title. */ export function FormSection({ children, title }: FormSectionProps) { return ( {title && ( {title} )} {children} ); }