27 lines
416 B
TypeScript
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
|
||
|
};
|
||
|
};
|