2017-08-09 04:55:38 +08:00
|
|
|
import React from 'react';
|
2016-05-04 04:40:46 +08:00
|
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
2017-02-17 05:11:46 +08:00
|
|
|
import PresentationAreaService from './service';
|
|
|
|
import PresentationArea from './component';
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2017-08-21 08:16:39 +08:00
|
|
|
const PresentationAreaContainer = ({ ...props }) => (
|
|
|
|
<PresentationArea {...props} />
|
|
|
|
);
|
2016-05-04 04:40:46 +08:00
|
|
|
|
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(),
|
2017-08-09 04:55:38 +08:00
|
|
|
multiUser: PresentationAreaService.getMultiUserStatus(),
|
2017-02-17 05:11:46 +08:00
|
|
|
}), PresentationAreaContainer);
|