favycon/components/base-layout/index.tsx
renovate[bot] 76d010fafa
fix(deps): update react monorepo to v16.14.0 (#309)
* fix(deps): update react monorepo to v16.14.0

* refactor: use the new JSX transform

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rui Saraiva <ruisaraiva19@gmail.com>
2020-10-18 09:23:20 +01:00

20 lines
347 B
TypeScript

import PropTypes from 'prop-types'
import { Header } from 'components/header'
import styles from './index.module.scss'
type BaseLayoutProps = {
children: PropTypes.ReactNodeLike
}
const BaseLayout = ({ children }: BaseLayoutProps) => {
return (
<div className={styles.root}>
<Header />
{children}
</div>
)
}
export { BaseLayout }