bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/container.jsx
Oleksandr Zhurbenko f80d0bc083 Linting and moved whiteboard resize events into HoC
Thus we won't clutter the code with unrelated events and can easily switch to a ResizeObserver when it is implemented by the browsers
2017-09-25 16:45:44 -07:00

15 lines
512 B
JavaScript

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import PresentationAreaService from './service';
import PresentationArea from './component';
const PresentationAreaContainer = props => (
<PresentationArea {...props} />
);
export default createContainer(() => ({
currentSlide: PresentationAreaService.getCurrentSlide(),
userIsPresenter: PresentationAreaService.isPresenter(),
multiUser: PresentationAreaService.getMultiUserStatus(),
}), PresentationAreaContainer);