bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-overlay/container.jsx
2017-02-23 16:11:27 -08:00

22 lines
588 B
JavaScript
Executable File

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import PresentationOverlayService from './service';
import PresentationOverlay from './component';
class PresentationOverlayContainer extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<PresentationOverlay {...this.props}/>
);
}
}
export default createContainer(() => ({
updateCursor: PresentationOverlayService.updateCursor,
isUserPresenter: PresentationOverlayService.getUserData().isUserPresenter,
}), PresentationOverlayContainer);