1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00
copilot/ui/docs/root.js

24 lines
403 B
JavaScript
Raw Normal View History

2016-10-23 07:27:18 +03:00
const React = require('react');
const ReactHotLoader = require('react-hot-loader');
2016-10-25 16:01:42 +03:00
const ReactRouter = require('react-router');
const App = require('./containers/app/');
2016-10-23 07:27:18 +03:00
const {
AppContainer
} = ReactHotLoader;
2016-10-25 16:01:42 +03:00
const {
BrowserRouter
} = ReactRouter;
2016-10-23 07:27:18 +03:00
module.exports = () => {
return (
<AppContainer>
2016-10-25 16:01:42 +03:00
<BrowserRouter>
<App />
</BrowserRouter>
2016-10-23 07:27:18 +03:00
</AppContainer>
);
};