import React from 'react'; import styles from '../styles.scss'; import Button from '/imports/ui/components/button/component'; import { clearModal } from '/imports/ui/components/app/service'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; const intlMessages = defineMessages({ microphoneLabel: { id: 'app.audioModal.microphoneLabel', }, listenOnlyLabel: { id: 'app.audioModal.listenOnlyLabel', }, closeLabel: { id: 'app.audioModal.closeLabel', } }); class JoinAudio extends React.Component { constructor(props) { super(props); this.handleClose = this.handleClose.bind(this); this.openAudio = this.openAudio.bind(this); this.openListen = this.openListen.bind(this); } handleClose() { this.setState({ isOpen: false }); clearModal(); } openAudio() { this.props.changeMenu(this.props.AUDIO_SETTINGS); } openListen() { this.handleClose(); this.props.handleJoinListenOnly(); } render() { const { intl } = this.props; return (
); } }; export default injectIntl(JoinAudio);