import { Grid } from "@mui/material";
import { Sidebar } from "./Sidebar";

export const Layout = ({ children }) => (
  <Grid container direction="row">
    <Sidebar open />
    <Grid item sx={{ ml: "270px", width: "100%", height: "100vh" }}>
      {children}
    </Grid>
  </Grid>
);
