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

17 lines
491 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import VideoDock from './component';
2017-09-01 23:26:57 +08:00
import VideoService from './service';
const VideoDockContainer = ({ children, ...props }) => (
<VideoDock {...props}>
{children}
</VideoDock>
);
export default withTracker(() => ({
2017-09-01 23:26:57 +08:00
sendUserShareWebcam: VideoService.sendUserShareWebcam,
sendUserUnshareWebcam: VideoService.sendUserUnshareWebcam,
users: VideoService.getAllUsers(),
}))(VideoDockContainer);