text: /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
  
  import React, { PropTypes } from 'react';
  import styles from './App.css';
  import withContext from '../../decorators/withContext';
  import withStyles from '../../decorators/withStyles';
  import Header from '../Header';
  import Feedback from '../Feedback';
  import Footer from '../Footer';
  
  @withContext
  @withStyles(styles)
  class App {
  
    static propTypes = {
      children: PropTypes.element.isRequired,
      error: PropTypes.object
    };
  
    render() {
      return !this.props.error ? (
        <div>
          <Header />
        </div>
      ) : this.props.children;
    }
  
  }
  
  export default App;
  