joyent-portal/ui/docs/root.js

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>
);
};