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

34 lines
838 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';
2018-12-19 18:40:17 +00:00
2019-01-05 16:49:21 +00:00
import AbstractKickRemoteParticipantDialog
from '../AbstractKickRemoteParticipantDialog';
2018-12-19 18:40:17 +00:00
/**
* Dialog to confirm a remote participant kick action.
*/
2019-01-05 16:49:21 +00:00
class KickRemoteParticipantDialog extends AbstractKickRemoteParticipantDialog {
2018-12-19 18:40:17 +00:00
/**
* Implements React's {@link Component#render()}.
*
* @inheritdoc
* @returns {ReactElement}
*/
render() {
return (
<ConfirmDialog
contentKey = 'dialog.kickParticipantDialog'
onSubmit = { this._onSubmit } />
);
}
_onSubmit: () => boolean;
}
export default translate(connect()(KickRemoteParticipantDialog));