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

12 lines
314 B
TypeScript

import { IReduxState } from '../app/types';
/**
* Returns the visibility state of the reactions menu.
*
* @param {Object} state - The state of the application.
* @returns {boolean}
*/
export function getReactionsMenuVisibility(state: IReduxState): boolean {
return state['features/reactions'].visible;
}