humus-old/client/ui/index.js

18 lines
391 B
JavaScript
Raw Normal View History

2019-04-12 11:04:59 -05:00
// 3rd party.
import React from 'react';
import {hot} from 'react-hot-loader/root';
// 1st party.
2019-04-14 16:14:03 -05:00
import ConnectionStatus from './connection-status';
2019-04-19 00:51:18 -05:00
import Damage from './damage';
2019-04-21 19:27:58 -05:00
import Menu from './menu';
2019-04-12 11:04:59 -05:00
2019-04-21 19:27:58 -05:00
const Ui = ({app}) => {
2019-04-12 12:10:40 -05:00
return <React.Fragment>
2019-04-19 00:51:18 -05:00
<Damage />
2019-04-21 19:27:58 -05:00
<Menu app={app} />
<ConnectionStatus socket={app.socket} />
2019-04-12 12:10:40 -05:00
</React.Fragment>;
2019-04-12 11:04:59 -05:00
};
export default hot(Ui);