2017-06-04 10:40:14 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
2016-12-23 16:26:22 +08:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-03 03:25:02 +08:00
|
|
|
export default createContainer(() => Service.getClosedCaptionSettings(), ClosedCaptionsMenuContainer);
|