mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-27 12:03:56 +03:00
19 lines
393 B
JavaScript
19 lines
393 B
JavaScript
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>
|
|
);
|
|
}
|
|
}
|