bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-dock/container.jsx
2018-01-07 20:44:42 -08:00

17 lines
491 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import VideoDock from './component';
import VideoService from './service';
const VideoDockContainer = ({ children, ...props }) => (
<VideoDock {...props}>
{children}
</VideoDock>
);
export default withTracker(() => ({
sendUserShareWebcam: VideoService.sendUserShareWebcam,
sendUserUnshareWebcam: VideoService.sendUserUnshareWebcam,
users: VideoService.getAllUsers(),
}))(VideoDockContainer);