bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/logout-confirmation/container.jsx

27 lines
591 B
React
Raw Normal View History

2017-08-12 04:32:33 +08:00
import React, { Component } from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import LogoutConfirmation from './component';
import LogoutConfirmationService from './service';
2017-08-12 04:32:33 +08:00
class LogoutConfirmationContainer extends Component {
constructor(props) {
super(props);
}
render() {
return(
<LogoutConfirmation {...this.props} />
);
}
}
export default createContainer(() => {
2017-08-12 04:32:33 +08:00
return {
2017-09-02 04:00:55 +08:00
isModerator: LogoutConfirmationService.isModerator(),
endMeeting: LogoutConfirmationService.endMeeting,
2017-08-12 04:32:33 +08:00
};
}, LogoutConfirmationContainer);