jiti-meet/react/features/participants-pane/actions.js

27 lines
416 B
JavaScript
Raw Normal View History

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
};
};