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

15 lines
569 B
React
Raw Normal View History

2020-04-10 01:01:46 +08:00
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
2022-02-15 23:54:55 +08:00
import { withModalMounter } from '/imports/ui/components/common/modal/service';
2020-04-10 01:01:46 +08:00
import ConnectionStatusService from '../service';
import ConnectionStatusComponent from './component';
const connectionStatusContainer = props => <ConnectionStatusComponent {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => {
mountModal(null);
},
2020-04-10 01:01:46 +08:00
connectionStatus: ConnectionStatusService.getConnectionStatus(),
}))(connectionStatusContainer));