jiti-meet/react/features/participants-pane/actions.any.ts

27 lines
416 B
TypeScript

import {
PARTICIPANTS_PANE_CLOSE,
PARTICIPANTS_PANE_OPEN
} from './actionTypes';
/**
* Action to close the participants pane.
*
* @returns {Object}
*/
export const close = () => {
return {
type: PARTICIPANTS_PANE_CLOSE
};
};
/**
* Action to open the participants pane.
*
* @returns {Object}
*/
export const open = () => {
return {
type: PARTICIPANTS_PANE_OPEN
};
};