bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/container.jsx
2018-01-07 20:44:42 -08:00

15 lines
504 B
JavaScript

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