| 1234567891011121314151617181920212223242526272829303132 |
- 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 AbstractKickRemoteParticipantDialog from '../AbstractKickRemoteParticipantDialog';
-
- /**
- * Dialog to confirm a remote participant kick action.
- */
- class KickRemoteParticipantDialog extends AbstractKickRemoteParticipantDialog {
- /**
- * Implements React's {@link Component#render()}.
- *
- * @inheritdoc
- * @returns {ReactElement}
- */
- render() {
- return (
- <Dialog
- ok = {{ translationKey: 'dialog.kickParticipantButton' }}
- onSubmit = { this._onSubmit }
- titleKey = 'dialog.kickParticipantTitle'>
- <div>
- { this.props.t('dialog.kickParticipantDialog') }
- </div>
- </Dialog>
- );
- }
- }
-
- export default translate(connect()(KickRemoteParticipantDialog));
|