bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx

34 lines
983 B
React
Raw Normal View History

2017-03-27 23:45:24 +08:00
import React, { Component } from 'react';
import styles from './styles.scss';
import EmojiContainer from './emoji-menu/container';
2016-09-27 05:55:33 +08:00
import ActionsDropdown from './actions-dropdown/component';
2017-03-24 23:34:03 +08:00
import JoinAudioOptionsContainer from '../audio/audio-menu/container';
import MuteAudioContainer from './mute-button/container';
2016-12-15 03:55:35 +08:00
export default class ActionsBar extends Component {
constructor(props) {
super(props);
}
2017-04-06 03:43:50 +08:00
render() {
const { isUserPresenter } = this.props;
2017-03-24 23:37:33 +08:00
return (
<div className={styles.actionsbar}>
2016-05-21 00:17:21 +08:00
<div className={styles.left}>
2017-06-03 03:25:02 +08:00
<ActionsDropdown {...{ isUserPresenter }} />
2016-05-21 00:17:21 +08:00
</div>
<div className={styles.center}>
<MuteAudioContainer />
2016-12-06 01:07:25 +08:00
<JoinAudioOptionsContainer
2017-03-15 07:21:55 +08:00
handleJoinAudio={this.props.handleOpenJoinAudio}
2017-03-15 06:34:57 +08:00
handleCloseAudio={this.props.handleExitAudio}
2016-10-12 03:04:50 +08:00
/>
2017-06-03 03:25:02 +08:00
{/* <JoinVideo />*/}
<EmojiContainer />
2016-05-21 00:17:21 +08:00
</div>
</div>
);
}
}