bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/connection-status/modal/container.jsx
2020-05-14 10:32:55 -03:00

13 lines
551 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import ConnectionStatusService from '../service';
import ConnectionStatusComponent from './component';
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => mountModal(null),
connectionStatus: ConnectionStatusService.getConnectionStatus(),
}))(connectionStatusContainer));