mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 21:13:54 +03:00
476e37a875
* Add redux-slider-monitor * Fix example configuration of redux-slider-monitor * Fix lint errors * CI: Run build:all before lint
21 lines
386 B
JavaScript
21 lines
386 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { Provider } from 'react-redux';
|
|
import TodoApp from './TodoApp';
|
|
import DevTools from './DevTools';
|
|
|
|
const Root = ({ store }) => (
|
|
<Provider store={store}>
|
|
<div>
|
|
<TodoApp />
|
|
<DevTools />
|
|
</div>
|
|
</Provider>
|
|
);
|
|
|
|
Root.propTypes = {
|
|
store: PropTypes.object.isRequired
|
|
};
|
|
|
|
export default Root;
|