import { ReactNode } from 'react'; import { Box } from './Box'; import { Text } from './Text'; export interface FormSectionProps { title: string; description?: string; children: ReactNode; } export const FormSection = ({ title, description, children }: FormSectionProps) => { return ( {title} {description && ( {description} )} {children} ); };