mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 10:37:30 -04:00
22 lines
416 B
TypeScript
22 lines
416 B
TypeScript
import { Paper } from "@mui/material";
|
|
|
|
function CenteredPaper({ children }: { children: React.ReactNode }): JSX.Element {
|
|
return (
|
|
<div>
|
|
<Paper
|
|
elevation={0}
|
|
style={{
|
|
display: "flex",
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
padding: 36,
|
|
}}
|
|
>
|
|
{children}
|
|
</Paper>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default CenteredPaper;
|