import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import Button from '/imports/ui/components/button/component';
import { withRouter } from 'react-router';
import { defineMessages, injectIntl } from 'react-intl';
const intlMessages = defineMessages({
joinVideo: {
id: 'app.video.joinVideo',
description: 'Join video button label',
},
leaveVideo: {
id: 'app.video.leaveVideo',
description: 'Leave video button label',
},
});
class JoinVideoOptions extends React.Component {
render() {
const {
intl,
isSharingVideo,
handleJoinVideo,
handleCloseVideo,
} = this.props;
if (isSharingVideo) {
return (
);
}
return (
);
}
}
export default withRouter(injectIntl(JoinVideoOptions));