bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/waiting-users/guest-policy/container.jsx

14 lines
537 B
React
Raw Normal View History

2020-02-04 04:41:12 +08:00
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import { withModalMounter } from '/imports/ui/components/modal/service';
import GuestPolicyComponent from './component';
import Service from '../service';
const guestPolicyContainer = props => <GuestPolicyComponent {...props} />;
export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal: () => mountModal(null),
guestPolicy: Service.getGuestPolicy(),
changeGuestPolicy: Service.changeGuestPolicy,
}))(guestPolicyContainer));