bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/submenus/closed-captions/container.jsx
Oleksandr Zhurbenko 251bd22738 PR review fixes
2017-09-06 12:36:52 -07:00

18 lines
516 B
JavaScript

import React, { Component } from 'react';
import PropTypes from 'prop-types';
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(() => Service.getClosedCaptionSettings(), ClosedCaptionsMenuContainer);