mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-14 11:06:21 +05:00
* 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>
20 lines
347 B
TypeScript
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 }
|