2017-03-27 23:45:24 +08:00
|
|
|
import React, { Component } from 'react';
|
2016-05-20 21:37:19 +08:00
|
|
|
import styles from './styles.scss';
|
2016-09-27 05:06:41 +08:00
|
|
|
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';
|
2016-12-07 05:15:23 +08:00
|
|
|
import MuteAudioContainer from './mute-button/container';
|
2016-12-15 03:55:35 +08:00
|
|
|
|
2016-05-20 21:37:19 +08:00
|
|
|
export default class ActionsBar extends Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
2017-04-06 03:43:50 +08:00
|
|
|
render() {
|
2017-03-24 22:49:38 +08:00
|
|
|
const { isUserPresenter } = this.props;
|
2017-03-24 23:37:33 +08:00
|
|
|
|
2016-05-20 21:37:19 +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}>
|
2016-12-10 04:39:48 +08:00
|
|
|
<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 />*/}
|
2016-09-22 02:03:18 +08:00
|
|
|
<EmojiContainer />
|
2016-05-21 00:17:21 +08:00
|
|
|
</div>
|
2016-05-20 21:37:19 +08:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|