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

14 lines
588 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import CaptionsService from '/imports/ui/components/captions/service';
import WriterMenu from './component';
const WriterMenuContainer = props => <WriterMenu {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => mountModal(null),
availableLocales: CaptionsService.getAvailableLocales(),
takeOwnership: locale => CaptionsService.takeOwnership(locale),
}))(WriterMenuContainer));