import { h, render, Component } from "preact";
import { AppBar, Toolbar, Container, Typography } from "@material-ui/core";

class Header extends Component {
  render() {
    return (
      <AppBar position="sticky">
        <Toolbar>
          <Container maxWidth="lg">
            <Typography>Warwick New</Typography>
          </Container>
        </Toolbar>
      </AppBar>
    );
  }
}

export default Header;
