import React, { Component } from 'react'; import { createContainer } from 'meteor/react-meteor-data'; import VideoDock from './component'; import VideoService from './service'; import Users from '/imports/api/users'; class VideoDockContainer extends Component { constructor(props) { super(props); } render() { return ( {this.props.children} ); } } export default createContainer(() => ({ sendUserShareWebcam: VideoService.sendUserShareWebcam, sendUserUnshareWebcam: VideoService.sendUserUnshareWebcam, users: Users.find().fetch(), }), VideoDockContainer);