content: import React from 'react';
  import PropTypes from 'prop-types';
  import { ThemeProvider } from 'styled-components';
  
  import theme from '../styles/theme';
  import { GlobalStyle } from '../styles/globals';
  
  const Layout = ({ children }) => (
    <ThemeProvider theme={theme}>
      <React.Fragment>
        <GlobalStyle />
        {children}
      </React.Fragment>
    </ThemeProvider>
  );
  
  Layout.propTypes = {
    children: PropTypes.node,
  };
  
  export default Layout;
  