bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/connection-status/status-helper/container.jsx

13 lines
418 B
React
Raw Normal View History

2021-10-19 04:52:59 +08:00
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import ConnectionStatusService from '../service';
import ConnectionStatusIconComponent from './component';
const connectionStatusIconContainer = props => <ConnectionStatusIconComponent {...props} />;
export default withTracker(() => {
return {
stats: ConnectionStatusService.getStats(),
};
})(connectionStatusIconContainer);