bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/submenus/closed-captions/container.jsx

13 lines
405 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
2016-12-23 16:26:22 +08:00
import ClosedCaptionsMenu from './component';
import Service from './service';
const ClosedCaptionsMenuContainer = ({ children, ...props }) => (
<ClosedCaptionsMenu {...props}>
{children}
</ClosedCaptionsMenu>
);
2016-12-23 16:26:22 +08:00
export default withTracker(() => Service.getClosedCaptionSettings(), ClosedCaptionsMenuContainer);