2016-12-23 16:26:22 +08:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-16 23:37:17 +08:00
|
|
|
export default createContainer(function () {
|
2017-05-05 02:42:55 +08:00
|
|
|
return Service.getClosedCaptionSettings();
|
2016-12-23 16:26:22 +08:00
|
|
|
}, ClosedCaptionsMenuContainer);
|