bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/container.jsx
Oleksandr Zhurbenko 251bd22738 PR review fixes
2017-09-06 12:36:52 -07:00

15 lines
521 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);