import React, { Children } from 'react'; import Heading from '../../../atoms/Heading/Heading'; import Text from '../../../atoms/Text/Text'; export interface FormSectionProps { children?: React.ReactNode; title?: string; subtitle?: string; } const FormSection = ({ title, subtitle, children }: FormSectionProps) => { const childrenLength = Children.count(children); return (