joyent-portal/spikes/graphs-fe/plotly/client/root.js

26 lines
417 B
JavaScript
Raw Normal View History

2016-11-07 16:35:58 +02:00
const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
2016-11-07 17:17:19 +02:00
const PlotlyGraph = require('./plotly');
2016-11-07 16:35:58 +02:00
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<PlotlyGraph />
</Provider>
</AppContainer>
);
};