joyent-portal/legacy/ui/docs/src/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>
);
};