joyent-portal/ui/docs/root.js
2016-10-25 14:47:24 +01:00

24 lines
403 B
JavaScript

const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRouter = require('react-router');
const App = require('./containers/app/');
const {
AppContainer
} = ReactHotLoader;
const {
BrowserRouter
} = ReactRouter;
module.exports = () => {
return (
<AppContainer>
<BrowserRouter>
<App />
</BrowserRouter>
</AppContainer>
);
};