{"size": 410, "ext": "js", "max_stars_repo_path": "src/components/Menu/MenuContainer.js", "max_stars_repo_name": "Sandalf/react-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Menu/MenuContainer.js", "max_issues_repo_name": "Sandalf/react-dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/Menu/MenuContainer.js", "max_forks_repo_name": "Sandalf/react-dashboard", "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": 16.4, "max_line_length": 41, "alphanum_fraction": 0.6024390244}
import React, { Component } from 'react';
import Menu from './Menu';

class MenuContainer extends Component {

  state = {
    collapsed: true,
  }

  handleToggle = () => {
    this.setState({
      collapsed: !this.state.collapsed
    });
  }

  render() {
    return (
      <Menu 
       collapsed={this.state.collapsed}
       handleToggle={this.handleToggle}/>
    );
  }
}

export default MenuContainer;