您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MuteEveryoneElseButton.js 594B

1234567891011121314151617181920
  1. // @flow
  2. import { translate } from '../../../base/i18n';
  3. import { isLocalParticipantModerator } from '../../../base/participants';
  4. import { connect } from '../../../base/redux';
  5. import AbstractMuteEveryoneElseButton from '../AbstractMuteEveryoneElseButton';
  6. /**
  7. * Maps part of the Redux state to the props of this component.
  8. *
  9. * @param {Object} state - The Redux state.
  10. * @returns {Props}
  11. */
  12. function _mapStateToProps(state) {
  13. return {
  14. visible: isLocalParticipantModerator(state)
  15. };
  16. }
  17. export default translate(connect(_mapStateToProps)(AbstractMuteEveryoneElseButton));