Sha256: 0d30a628969a1d3169ff57986a243b1f44c81f496198e0d3e8d6b8a6c1e1c0ed

Contents?: true

Size: 560 Bytes

Versions: 5

Compression:

Stored size: 560 Bytes

Contents

import React, { Component } from 'react';
import { Provider } from 'react-redux';
import { ConnectedRouter } from 'react-router-redux'
import { Route } from 'react-router';

import App from 'components/App';
import history from 'redux/history';
import store from 'redux/store';

export default class Router extends Component {
  render () {
    return (
      <Provider store={store}>
        <ConnectedRouter history={history}>
          <App>
            <h1>Welcome to Gnarails</h1>
          </App>
        </ConnectedRouter>
      </Provider>
    )
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnarails-1.0.0 templates/react/js/Router/Router.jsx
gnarails-0.9.3 templates/react/js/Router/Router.jsx
gnarails-0.9.2 templates/react/js/Router/Router.jsx
gnarails-0.9.1 templates/react/js/Router/Router.jsx
gnarails-0.9.0 templates/react/js/Router/Router.jsx