Last active
March 13, 2022 09:17
-
-
Save SahanAmarsha/baa2d6dd1ac2fc8e21ff3974df1e7515 to your computer and use it in GitHub Desktop.
Home Page Component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/pages/Home.tsx | |
import React, {ReactElement, FC} from "react"; | |
import {Box, Typography} from "@mui/material"; | |
const Home: FC<any> = (): ReactElement => { | |
return ( | |
<Box sx={{ | |
flexGrow: 1, | |
backgroundColor: 'whitesmoke', | |
display: 'flex', | |
justifyContent: 'center', | |
alignItems: 'center' | |
}}> | |
<Typography variant="h3">Home</Typography> | |
</Box> | |
); | |
}; | |
export default Home; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment