import React from 'react'; import cx from 'classnames'; import { styles } from './styles.scss'; import EmojiSelect from './emoji-select/component'; import ActionsDropdown from './actions-dropdown/component'; import AudioControlsContainer from '../audio/audio-controls/container'; import JoinVideoOptionsContainer from '../video-provider/video-menu/container'; class ActionsBar extends React.PureComponent { render() { const { isUserPresenter, handleExitVideo, handleJoinVideo, handleShareScreen, handleUnshareScreen, isVideoBroadcasting, emojiList, emojiSelected, handleEmojiChange, isUserModerator, recordSettingsList, toggleRecording, } = this.props; const { allowStartStopRecording, recording: isRecording, record, } = recordSettingsList; const actionBarClasses = {}; actionBarClasses[styles.centerWithActions] = isUserPresenter; actionBarClasses[styles.center] = true; return (