adminFront/src/Components/Content/index.tsx

26 lines
518 B
TypeScript
Raw Normal View History

2022-09-08 17:21:17 +00:00
import * as React from "react";
import { Box } from "@mui/material";
2022-09-19 11:45:58 +00:00
import Promocode from "../Promocode";
2022-09-08 17:21:17 +00:00
const Content: React.FC = () => {
return (
<React.Fragment>
<Box sx={{
width: "100%",
2022-09-10 18:39:16 +00:00
height: "calc(100vh - 85px)",
2022-09-08 17:21:17 +00:00
display: "flex",
flexDirection: "column",
2022-09-10 18:39:16 +00:00
alignItems: "center",
overflow: "auto",
overflowY: "auto",
padding: "60px"
2022-09-08 17:21:17 +00:00
}}>
2022-09-19 11:45:58 +00:00
<Promocode />
2022-09-08 17:21:17 +00:00
</Box>
</React.Fragment>
);
}
export default Content;