import React from "react";
import BasicLayout from "./BasicLayout";
import { Paper, Container } from "@mui/material";

const SmallPaperLayout = ({ children }) => (
  <BasicLayout>
    <Container maxWidth="sm">
      <Paper sx={{ p: 3}}>{children}</Paper>
    </Container>
  </BasicLayout>
);

export default SmallPaperLayout;
