import React, { Component, PropTypes } from 'react'; import { createContainer } from 'meteor/react-meteor-data'; import PresentationAreaService from './service'; import PresentationArea from './component'; class PresentationAreaContainer extends Component { constructor(props) { super(props); } render() { return ( {this.props.children} ); } } export default createContainer(() => ({ currentSlide: PresentationAreaService.getCurrentSlide(), cursor: PresentationAreaService.getCurrentCursor(), userIsPresenter: PresentationAreaService.isPresenter(), }), PresentationAreaContainer);