joyent-portal/spikes/graphs-matrix/chartjs/client/root.js
2016-11-14 10:02:53 +00:00

25 lines
415 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 rows={4} />
</Provider>
</AppContainer>
);
};