{"size": 674, "ext": "js", "max_stars_repo_path": "src/Components/Menu/Fixed.js", "max_stars_repo_name": "viniciusgcardozo/rodrigues-spa", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Components/Menu/Fixed.js", "max_issues_repo_name": "viniciusgcardozo/rodrigues-spa", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/Components/Menu/Fixed.js", "max_forks_repo_name": "viniciusgcardozo/rodrigues-spa", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.9230769231, "max_line_length": 92, "alphanum_fraction": 0.6083086053}
import React from 'react'
import { AppBar, Toolbar, IconButton, Typography } from '@material-ui/core'
import { Menu } from '@material-ui/icons'

import HideOnScroll from './HideonScroll'
import './Menu.scss'

const Fixed = props => {

  return (
    <HideOnScroll {...props}>
      <AppBar>
        <Toolbar variant="dense">
          <IconButton onClick={props.toggle} edge="start" color="inherit" aria-label="menu">
            <Menu />
          </IconButton>
          <Typography variant="h5">
            <span className="menu-application-name">Rodrigues</span>
          </Typography>
        </Toolbar>
      </AppBar>
    </HideOnScroll>
  )
}

export default Fixed