import React from "react";
import Header from "@components/Header";
import Footer from "@components/Footer/Footer";

type PageWrapperProps = {
  children: React.ReactNode;
};

const PageWrapper: React.FC<PageWrapperProps> = ({ children }) => (
  <>
    <Header />
    {children}
    <Footer />
  </>
);

export default PageWrapper;
