joyent-portal/spikes/graphs-fe/plotly/client/root.js
2016-11-07 15:17:19 +00:00

26 lines
417 B
JavaScript

const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
const PlotlyGraph = require('./plotly');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<PlotlyGraph />
</Provider>
</AppContainer>
);
};