bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/container.jsx

15 lines
512 B
React
Raw Normal View History

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
2017-02-17 05:11:46 +08:00
import PresentationAreaService from './service';
import PresentationArea from './component';
const PresentationAreaContainer = props => (
<PresentationArea {...props} />
);
2016-11-12 03:02:46 +08:00
export default createContainer(() => ({
2017-02-17 05:11:46 +08:00
currentSlide: PresentationAreaService.getCurrentSlide(),
userIsPresenter: PresentationAreaService.isPresenter(),
multiUser: PresentationAreaService.getMultiUserStatus(),
2017-02-17 05:11:46 +08:00
}), PresentationAreaContainer);