import React, { Component } from 'react'; import { createContainer } from 'meteor/react-meteor-data'; import Service from './service.js'; import UserList from './component.jsx'; class UserListContainer extends Component { render() { return ( {this.props.children} ); } } export default createContainer(({ params }) => ({ users: Service.getUsers(), currentUser: Service.getCurrentUser(), openChats: Service.getOpenChats(params), userActions: Service.userActions, }), UserListContainer);