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

MuteRemoteParticipantDialog.js 837B

1234567891011121314151617181920212223242526272829303132
  1. // @flow
  2. import React from 'react';
  3. import { ConfirmDialog } from '../../../base/dialog';
  4. import { translate } from '../../../base/i18n';
  5. import { connect } from '../../../base/redux';
  6. import AbstractMuteRemoteParticipantDialog
  7. from '../AbstractMuteRemoteParticipantDialog';
  8. /**
  9. * Dialog to confirm a remote participant mute action.
  10. */
  11. class MuteRemoteParticipantDialog extends AbstractMuteRemoteParticipantDialog {
  12. /**
  13. * Implements React's {@link Component#render()}.
  14. *
  15. * @inheritdoc
  16. * @returns {ReactElement}
  17. */
  18. render() {
  19. return (
  20. <ConfirmDialog
  21. contentKey = 'dialog.muteParticipantDialog'
  22. onSubmit = { this._onSubmit } />
  23. );
  24. }
  25. _onSubmit: () => boolean;
  26. }
  27. export default translate(connect()(MuteRemoteParticipantDialog));