mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-11 20:27:07 +03:00
10bf7bc084
* chore(*): upgrade prettier * chore(*): upgrade prettier
21 lines
387 B
JavaScript
21 lines
387 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;
|