import React from "react";
import PageTitle from "../../PageTitle/PageTitle";


import MainContainerStyled, {
  TitleContainerStyled,
  ContentContainerStyled,
} from "./MainContainer.style";

const MainContainer = ({ children }) => {
  return (
    <MainContainerStyled>
      <TitleContainerStyled>
        <PageTitle />
      </TitleContainerStyled>
      <ContentContainerStyled>{children}</ContentContainerStyled>
    </MainContainerStyled>
  );
};

export default MainContainer;

