import React , { HTMLAttributes , ReactNode } from 'react' ; import { section } from './section.module.css' ; interface SectionProps extends HTMLAttributes < HTMLDivElement > { children : ReactNode ; } function Section ( props ) { return < section className = { section } { ... props } />; } export default Section ;