redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc/containers/Root.prod.js
Nathan Bierema c924091e8c
Rename redux-slider-monitor to redux-devtools-slider-monitor (#558)
* Rename redux-slider-monitor to redux-devtools-slider-monitor

* Fix
2020-08-06 08:02:35 -04:00

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;