Skip to content

Instantly share code, notes, and snippets.

@syamjayaraj
Created April 20, 2021 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syamjayaraj/cbb2351852d0f72e1ca985028385b6e9 to your computer and use it in GitHub Desktop.
Save syamjayaraj/cbb2351852d0f72e1ca985028385b6e9 to your computer and use it in GitHub Desktop.
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