Files
jitsi-meet/react/features/reactions/actions.web.ts
Saúl Ibarra Corretgé b0deb9ec0c fix(lint) make sure eslint also runs on TypeScript files (#11777)
Co-authored-by: robertpin <robert.pin9@gmail.com>
Co-authored-by: Gabriel Borlea <gabriel.borlea@8x8.com>
2022-07-11 15:30:37 +03:00

28 lines
553 B
TypeScript

import {
SHOW_SOUNDS_NOTIFICATION,
TOGGLE_REACTIONS_VISIBLE
} from './actionTypes';
import { ReactionsAction } from './reducer';
/**
* Toggles the visibility of the reactions menu.
*
* @returns {void}
*/
export function toggleReactionsMenuVisibility(): ReactionsAction {
return {
type: TOGGLE_REACTIONS_VISIBLE
};
}
/**
* Displays the disable sounds notification.
*
* @returns {void}
*/
export function displayReactionSoundsNotification(): ReactionsAction {
return {
type: SHOW_SOUNDS_NOTIFICATION
};
}