bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/submenus/closed-captions/container.jsx
2017-05-16 09:22:59 -07:00

19 lines
511 B
JavaScript

import React, { Component, PropTypes } from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import ClosedCaptionsMenu from './component';
import Service from './service';
class ClosedCaptionsMenuContainer extends Component {
render() {
return (
<ClosedCaptionsMenu {...this.props}>
{this.props.children}
</ClosedCaptionsMenu>
);
}
}
export default createContainer(function () {
return Service.getClosedCaptionSettings();
}, ClosedCaptionsMenuContainer);