mirror of
https://github.com/yldio/copilot.git
synced 2024-12-11 12:30:04 +02:00
9d3903a1db
This is an initial implement that at the moment constructs the required SVG layout to be used by D3.
22 lines
373 B
JavaScript
22 lines
373 B
JavaScript
const React = require('react');
|
|
const ReactHotLoader = require('react-hot-loader');
|
|
const ReactRedux = require('react-redux');
|
|
const Graph = require('./graph');
|
|
|
|
const {
|
|
AppContainer
|
|
} = ReactHotLoader;
|
|
|
|
const {
|
|
Provider
|
|
} = ReactRedux;
|
|
|
|
module.exports = ({
|
|
store
|
|
}) =>
|
|
<AppContainer>
|
|
<Provider store={store}>
|
|
<Graph />
|
|
</Provider>
|
|
</AppContainer>;
|