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.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 AbstractKickRemoteParticipantDialog
  7. from '../AbstractKickRemoteParticipantDialog';
  8. /**
  9. * Dialog to confirm a remote participant kick action.
  10. */
  11. class KickRemoteParticipantDialog extends AbstractKickRemoteParticipantDialog {
  12. /**
  13. * Implements React's {@link Component#render()}.
  14. *
  15. * @inheritdoc
  16. * @returns {ReactElement}
  17. */
  18. render() {
  19. return (
  20. <ConfirmDialog
  21. contentKey = 'dialog.kickParticipantDialog'
  22. onSubmit = { this._onSubmit } />
  23. );
  24. }
  25. _onSubmit: () => boolean;
  26. }
  27. export default translate(connect()(KickRemoteParticipantDialog));