jiti-meet/react/features/reactions/actions.web.ts

24 lines
509 B
TypeScript
Raw Normal View History

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