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