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.

actions.native.js 813B

123456789101112131415161718192021222324252627
  1. // @flow
  2. import { openDialog } from '../base/dialog';
  3. import { ContextMenuLobbyParticipantReject, ContextMenuMeetingParticipantDetails } from './components/native';
  4. export * from './actions.any';
  5. /**
  6. * Displays the context menu for the selected lobby participant.
  7. *
  8. * @param {Object} participant - The selected lobby participant.
  9. * @returns {Function}
  10. */
  11. export function showContextMenuReject(participant: Object) {
  12. return openDialog(ContextMenuLobbyParticipantReject, { participant });
  13. }
  14. /**
  15. * Displays the context menu for the selected meeting participant.
  16. *
  17. * @param {Object} participant - The selected meeting participant.
  18. * @returns {Function}
  19. */
  20. export function showContextMenuDetails(participant: Object) {
  21. return openDialog(ContextMenuMeetingParticipantDetails, { participant });
  22. }