aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Layouts/Layout.tsx
blob: 4270a176dc4551fade03cfbd5855581d3c5d3f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { FunctionComponent } from 'react';
import Footer from '@components/Footer/Footer';
import Header from '@components/Header/Header';
import Main from '@components/Main/Main';

const Layout: FunctionComponent = ({ children }) => {
  return (
    <>
      <Header />
      <Main>{children}</Main>
      <Footer />
    </>
  );
};

export default Layout;