bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-dock/container.jsx

18 lines
522 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(),
userId: VideoService.userId,
}))(VideoDockContainer);