bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/captions/container.jsx

23 lines
418 B
React
Raw Normal View History

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import CaptionsService from './service';
import Captions from './component';
const CaptionsContainer = props => (
<Captions {...props} />
);
export default withTracker(() => {
const {
locale,
2019-05-21 00:43:31 +08:00
revs,
data,
} = CaptionsService.getCaptionsData();
return {
locale,
2019-05-21 00:43:31 +08:00
revs,
data,
};
})(CaptionsContainer);