15 lines
504 B
JavaScript
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);
|