adminFront/src/Components/LoggedIn/index.tsx

36 lines
794 B
TypeScript
Raw Normal View History

2022-09-08 17:21:17 +00:00
import * as React from "react";
import { Box } from "@mui/material";
import theme from "../../theme";
import Menu from "../Menu";
import Header from "../Header";
import Content from "../Content";
const CenterBox: React.FC = () => {
return (
<React.Fragment>
<Box sx={{
backgroundColor: theme.palette.primary.light,
display: "flex",
width: "100%",
height: "100%"
}}>
<Menu />
<Box sx={{
width: "100%",
height: "100%",
display: "flex",
flexDirection: "column",
justifyContent: "space-between",
alignItems: "center"
}}>
<Header />
<Content />
</Box>
</Box>
</React.Fragment>
);
}
export default CenterBox;