jiti-meet/react/features/chat/actions.native.js

17 lines
293 B
JavaScript
Raw Normal View History

2020-07-21 12:21:01 +00:00
// @flow
import { TOGGLE_CHAT } from './actionTypes';
export * from './actions.any';
/**
* Toggles display of the chat panel.
*
* @returns {Function}
*/
export function toggleChat() {
return function(dispatch: (Object) => Object) {
dispatch({ type: TOGGLE_CHAT });
};
}