Created
April 20, 2021 09:31
-
-
Save syamjayaraj/cbb2351852d0f72e1ca985028385b6e9 to your computer and use it in GitHub Desktop.
This file contains 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
import React from "react"; | |
import { makeStyles } from "@material-ui/core/styles"; | |
const useStyles = makeStyles((theme) => ({ | |
nav: { | |
width: "100%", | |
position: "fixed", | |
textAlign: "center", | |
paddingTop: "1rem", | |
}, | |
})); | |
export default function Header(props) { | |
const classes = useStyles(); | |
return ( | |
<div className={classes.nav}> | |
<h2>Memorize word</h2> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment