bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/captions/container.jsx
2019-05-22 18:33:20 -03:00

23 lines
416 B
JavaScript

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 {
padId,
revs,
data,
} = CaptionsService.getCaptionsData();
return {
padId,
revs,
data,
};
})(CaptionsContainer);