import React from 'react';
import PropTypes from 'prop-types';

import Header from '../Header';
import './styles.scss';
import '../../styles/code.scss';


const Base = ({ children }: any) => (
  <>
    <div className="ContainerMD">
      <Header />
      <div style={{ marginTop: '2rem' }}>
        <main>{children}</main>
      </div>
    </div>
  </>
);

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

export default Base;
