text: import PropTypes from 'prop-types';
  import React from 'react';
  import classNames from 'classnames';
  import { themr } from 'react-css-themr';
  
  import Navbar from './Navbar';
  import defaultTheme from './theme.scss';
  import { hot } from 'react-hot-loader'
  import Loader from 'components/Loader';
  
  @themr('GlobalWrapper', defaultTheme)
  class App extends React.Component {
  
      static propTypes = {
          theme: PropTypes.shape({
              wrapper: PropTypes.string,
          }),
          children: PropTypes.any,
          className: PropTypes.string,
      };
  
      static defaultProps = {
          className: '',
      };
  
      render() {
          return (
              <div className={classNames(this.props.theme.wrapper, this.props.className)}>
                  <Navbar />
                  {this.props.children}
                  <Loader />
              </div>
          );
      }
  }
  
  export default hot(module)(App);