mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-14 21:56:55 +03:00
19 lines
332 B
JavaScript
19 lines
332 B
JavaScript
|
import React from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
import { Provider } from 'react-redux';
|
||
|
import TodoApp from './TodoApp';
|
||
|
|
||
|
const Root = ({ store }) => (
|
||
|
<Provider store={store}>
|
||
|
<div>
|
||
|
<TodoApp />
|
||
|
</div>
|
||
|
</Provider>
|
||
|
);
|
||
|
|
||
|
Root.propTypes = {
|
||
|
store: PropTypes.object.isRequired
|
||
|
};
|
||
|
|
||
|
export default Root;
|