import React from 'react'; import { translate } from '../../../base/i18n/functions'; import { connect } from '../../../base/redux/functions'; import Dialog from '../../../base/ui/components/web/Dialog'; import Switch from '../../../base/ui/components/web/Switch'; import AbstractMuteEveryonesVideoDialog, { type Props, abstractMapStateToProps } from '../AbstractMuteEveryonesVideoDialog'; /** * A React Component with the contents for a dialog that asks for confirmation * from the user before disabling all remote participants cameras. * * @augments AbstractMuteEveryonesVideoDialog */ class MuteEveryonesVideoDialog extends AbstractMuteEveryonesVideoDialog { /** * Implements React's {@link Component#render()}. * * @inheritdoc * @returns {ReactElement} */ render() { return (
{this.state.content} { this.props.isModerationSupported && this.props.exclude.length === 0 && ( <>
)}
); } } export default translate(connect(abstractMapStateToProps)(MuteEveryonesVideoDialog));