bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/modals/settings/submenus/AudioMenu.jsx
2016-05-20 10:46:30 -03:00

26 lines
647 B
JavaScript
Executable File

import React from 'react';
import Modal from 'react-modal';
import Icon from '/imports/ui/components/icon/component';
import Button from '/imports/ui/components/button/component';
import BaseMenu from './BaseMenu';
import {joinVoiceCall} from '/imports/api/phone';
export default class AudioMenu extends BaseMenu {
constructor(props) {
super(props);
}
getContent() {
const useSIPAudio = true;
const isListenOnly = true;
return (
<div>
<p>inside audio menu</p>
<button onClick={joinVoiceCall.bind(this, { useSIPAudio, isListenOnly })}>
join audio
</button>
</div>
);
}
};