/** * Root component to render, setting locale, messages, Router and Store. */ import React, { Component, PropTypes } from "react"; import { Provider } from "react-redux"; import { Router } from "react-router"; import { IntlProvider } from "react-intl"; import routes from "../routes"; export default class Root extends Component { render() { const { locale, messages, defaultLocale, store, history, render } = this.props; return ( ); } } Root.propTypes = { store: PropTypes.object.isRequired, history: PropTypes.object.isRequired, render: PropTypes.func, locale: PropTypes.string.isRequired, messages: PropTypes.object.isRequired, defaultLocale: PropTypes.string.isRequired };