{"size": 498, "ext": "js", "max_stars_repo_path": "src/layouts/index.js", "max_stars_repo_name": "vivshaw/vivshaw-rewrite", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/layouts/index.js", "max_issues_repo_name": "vivshaw/vivshaw-rewrite", "max_issues_repo_issues_event_min_datetime": "2021-09-21T17:59:57.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T16:21:09.000Z", "max_forks_repo_path": "src/layouts/index.js", "max_forks_repo_name": "vivshaw/vivshaw-rewrite", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 19.1538461538, "max_line_length": 50, "alphanum_fraction": 0.6546184739}
import React from "react";
import PropTypes from "prop-types";
import { ThemeProvider } from "styled-components";

import GoogleFonts from "../styles/GoogleFonts";
import SEO from "../components/seo";

import theme from "../styles/theme";

const Layout = ({ children }) => (
  <ThemeProvider theme={theme}>
    <>
      <GoogleFonts />
      <SEO title="Hi!" />

      {children}
    </>
  </ThemeProvider>
);

Layout.propTypes = {
  children: PropTypes.node.isRequired,
};

export default Layout;
