mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Polish admin styles
This commit is contained in:
25
admin/src/components/CenteredPaper.tsx
Normal file
25
admin/src/components/CenteredPaper.tsx
Normal file
@ -0,0 +1,25 @@
|
||||
import { Paper } from "@material-ui/core";
|
||||
|
||||
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;
|
Reference in New Issue
Block a user