25 lines
418 B
JavaScript
25 lines
418 B
JavaScript
|
const React = require('react');
|
||
|
const ReactHotLoader = require('react-hot-loader');
|
||
|
const ReactRedux = require('react-redux');
|
||
|
const Matrix = require('./matrix');
|
||
|
|
||
|
const {
|
||
|
AppContainer
|
||
|
} = ReactHotLoader;
|
||
|
|
||
|
const {
|
||
|
Provider
|
||
|
} = ReactRedux;
|
||
|
|
||
|
module.exports = ({
|
||
|
store
|
||
|
}) => {
|
||
|
return (
|
||
|
<AppContainer>
|
||
|
<Provider store={store}>
|
||
|
<Matrix x={3} y={4} />
|
||
|
</Provider>
|
||
|
</AppContainer>
|
||
|
);
|
||
|
};
|