export type SectionProps = { description?: React.ReactNode; title?: React.ReactNode; children?: React.ReactNode; }; const Section = ( { description, title, children }: SectionProps ) => (

{ title }

{ description && (

{ description }

) }
{ children }
); export default Section;