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

22 lines
558 B
JavaScript

import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { createContainer } from 'meteor/react-meteor-data';
import ClosedCaptionsService from './service.js';
import ClosedCaptions from './component';
class ClosedCaptionsContainer extends Component {
constructor(props) {
super(props);
}
render() {
return (
<ClosedCaptions {...this.props}>
{this.props.children}
</ClosedCaptions>
);
}
}
export default createContainer(() => ClosedCaptionsService.getCCData(), ClosedCaptionsContainer);