humus-old/client/ui/index.js
2019-04-12 12:14:49 -05:00

16 lines
393 B
JavaScript

// 3rd party.
import React from 'react';
import {hot} from 'react-hot-loader/root';
// 1st party.
import Throughput from './throughput';
import WorldTime from './world-time';
const Ui = ({throughputTicker, worldTimeTicker}) => {
return <React.Fragment>
<WorldTime ticker={worldTimeTicker} />
<Throughput ticker={throughputTicker} />
</React.Fragment>;
};
export default hot(Ui);