Add .jsx filename extension

(This is also required for Vite later)
This commit is contained in:
nimbleghost
2023-05-24 09:02:33 +02:00
parent d7eb1206fe
commit f558b4dbe9
25 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import * as React from "react";
import { Avatar } from "@mui/material";
import Box from "@mui/material/Box";
import logo from "../img/ntfy-filled.svg";
const AvatarBox = (props) => {
return (
<Box
sx={{
display: "flex",
flexGrow: 1,
justifyContent: "center",
flexDirection: "column",
alignContent: "center",
alignItems: "center",
height: "100vh",
}}
>
<Avatar sx={{ m: 2, width: 64, height: 64, borderRadius: 3 }} src={logo} variant="rounded" />
{props.children}
</Box>
);
};
export default AvatarBox;