bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/logout-confirmation/container.jsx
2017-09-01 12:37:14 -07:00

27 lines
589 B
JavaScript
Executable File

import React, { Component } from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import LogoutConfirmation from './component';
import LogoutConfirmationService from './service';
class LogoutConfirmationContainer extends Component {
constructor(props) {
super(props);
}
render() {
return(
<LogoutConfirmation {...this.props} />
);
}
}
export default createContainer(() => {
return {
isModerator: LogoutConfirmationService.isModerator,
endMeeting: LogoutConfirmationService.endMeeting,
};
}, LogoutConfirmationContainer);