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