redux-devtools/examples/todomvc/containers/Root.dev.js

19 lines
393 B
JavaScript
Raw Normal View History

2015-10-17 04:11:16 +03:00
import React, { Component } from 'react';
import { Provider } from 'react-redux';
import TodoApp from './TodoApp';
import DevTools from './DevTools';
export default class Root extends Component {
render() {
const { store } = this.props;
return (
<Provider store={store}>
<div>
<TodoApp />
<DevTools />
</div>
</Provider>
);
}
}