You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

KickRemoteParticipantDialog.tsx 1017B

1234567891011121314151617181920212223242526272829303132
  1. import React from 'react';
  2. import { translate } from '../../../base/i18n/functions';
  3. import { connect } from '../../../base/redux/functions';
  4. import Dialog from '../../../base/ui/components/web/Dialog';
  5. import AbstractKickRemoteParticipantDialog from '../AbstractKickRemoteParticipantDialog';
  6. /**
  7. * Dialog to confirm a remote participant kick action.
  8. */
  9. class KickRemoteParticipantDialog extends AbstractKickRemoteParticipantDialog {
  10. /**
  11. * Implements React's {@link Component#render()}.
  12. *
  13. * @inheritdoc
  14. * @returns {ReactElement}
  15. */
  16. render() {
  17. return (
  18. <Dialog
  19. ok = {{ translationKey: 'dialog.kickParticipantButton' }}
  20. onSubmit = { this._onSubmit }
  21. titleKey = 'dialog.kickParticipantTitle'>
  22. <div>
  23. { this.props.t('dialog.kickParticipantDialog') }
  24. </div>
  25. </Dialog>
  26. );
  27. }
  28. }
  29. export default translate(connect()(KickRemoteParticipantDialog));