1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00
copilot/spikes/graphs-fe/c3js/client/root.js

25 lines
402 B
JavaScript
Raw Normal View History

2016-11-08 14:46:23 +02:00
const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
const Graph = require('./c3js');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<Graph />
</Provider>
</AppContainer>
);
};