import React , { PropsWithChildren } from 'react' ; import s from './Header.module.css' ; import { getStaticPath } from '../../utils/getStaticPath' ; export const Header = ( { children } ) => ( < header className = { s . header } > < div className = { s . logo } > < img src = { getStaticPath ( '/images/logo.svg' ) } alt = "Bull Dashboard" / > Bull Dashboard < /div> { children } < /header>);