joyent-portal/spikes/graphs-matrix/nvd3/client/root.js

25 lines
418 B
JavaScript
Raw Normal View History

2016-11-10 12:43:22 +02:00
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>
);
};