{"size": 511, "ext": "js", "max_stars_repo_path": "src/components/layout.js", "max_stars_repo_name": "melisademirparmak/twitter", "max_stars_repo_stars_event_min_datetime": "2021-11-16T19:17:49.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-16T18:25:22.000Z", "max_issues_repo_path": "src/components/layout.js", "max_issues_repo_name": "melisademirparmak/twitter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/layout.js", "max_forks_repo_name": "melisademirparmak/twitter", "max_forks_repo_forks_event_min_datetime": "2021-11-22T13:23:34.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-22T13:23:34.000Z"}
{"max_stars_count": 11, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 21.2916666667, "max_line_length": 45, "alphanum_fraction": 0.5890410959}
import React from 'react';
import '../css/style.css';
import { Helmet } from 'react-helmet';
import SideBar from './SideBar';
import Widgets from './Widgets';
import Messages from './Messages';

function layout({ children, title }) {
  return (
    <div className="container-large app">
      <Helmet>
        <meta charSet="utf-8" />
        <title>{`${title} / Twitter`}</title>
      </Helmet>
      <SideBar />
      {children}
      <Widgets />
      <Messages />
    </div>
  );
}

export default layout;
