jiti-meet/react/features/video-menu/components/native/MuteRemoteParticipantDialog.js

33 lines
837 B
JavaScript
Raw Normal View History

2018-12-19 18:40:17 +00:00
// @flow
2019-01-05 16:49:21 +00:00
import React from 'react';
2018-12-19 18:40:17 +00:00
import { ConfirmDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
2019-03-21 16:38:29 +00:00
import { connect } from '../../../base/redux';
2019-01-05 16:49:21 +00:00
import AbstractMuteRemoteParticipantDialog
from '../AbstractMuteRemoteParticipantDialog';
2018-12-19 18:40:17 +00:00
/**
* Dialog to confirm a remote participant mute action.
*/
2019-01-05 16:49:21 +00:00
class MuteRemoteParticipantDialog extends AbstractMuteRemoteParticipantDialog {
2018-12-19 18:40:17 +00:00
/**
* Implements React's {@link Component#render()}.
*
* @inheritdoc
* @returns {ReactElement}
*/
render() {
return (
<ConfirmDialog
contentKey = 'dialog.muteParticipantDialog'
onSubmit = { this._onSubmit } />
);
}
_onSubmit: () => boolean;
}
export default translate(connect()(MuteRemoteParticipantDialog));