text: import React, { Component, PropTypes } from 'react';
  import { Provider } from 'react-redux';
  // import DevTools from './DevTools';
  import { Router } from 'react-router';
  import routes from '../routes';
  
  export default class Root extends Component {
      render() {
          const {store, history} = this.props;
          return (
              <Provider store={store}>
                  <div>
                      <Router history={history} children={routes(store)}/>
                  </div>
              </Provider>
          );
      }
  };
  
  Root.propTypes = {
      store: PropTypes.object.isRequired,
      configStore: PropTypes.object.isRequired,
      history: PropTypes.object.isRequired,
  };
  