// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createToolbarEvent, sendAnalytics } from '../../analytics'; import { translate } from '../../base/i18n'; import { openDeviceSelectionDialog } from '../../device-selection'; import ToolbarButtonV2 from './ToolbarButtonV2'; import { AudioMuteButton, HangupButton, VideoMuteButton } from './buttons'; declare var interfaceConfig: Object; /** * Implements the conference toolbox on React/Web for filmstrip only mode. * * @extends Component */ class ToolboxFilmstrip extends Component<*> { _visibleButtons: Object; /** * Initializes a new {@code ToolboxFilmstrip} instance. * * @param {Props} props - The read-only React {@code Component} props with * which the new instance is to be initialized. */ constructor(props) { super(props); this._visibleButtons = new Set(interfaceConfig.TOOLBAR_BUTTONS); // Bind event handlers so they are only bound once per instance. this._onToolbarOpenSettings = this._onToolbarOpenSettings.bind(this); } /** * Implements React's {@link Component#render()}. * * @inheritdoc * @returns {ReactElement} */ render() { const { t } = this.props; return (