Capital/app/posts/layout.tsx
2024-02-24 17:33:35 +08:00

14 lines
366 B
TypeScript

import { Box, Container } from "@mui/material";
import { ReactNode } from "react";
export default function PostLayout({children}: Readonly<{
children: ReactNode;
}>) {
return (
<Container sx={{ display: "flex", justifyContent: "center", gap: 4, py: 4 }}>
<Box sx={{ flexGrow: 1, maxWidth: 720 }}>
{children}
</Box>
</Container>
)
}