Calling Reactions

This commit is contained in:
ayumi-signal
2023-11-16 11:55:35 -08:00
committed by GitHub
parent ab187ab265
commit 4603832258
24 changed files with 942 additions and 35 deletions

View File

@@ -22,6 +22,7 @@ export enum CallingButtonType {
VIDEO_DISABLED = 'VIDEO_DISABLED',
VIDEO_OFF = 'VIDEO_OFF',
VIDEO_ON = 'VIDEO_ON',
MORE_OPTIONS = 'MORE_OPTIONS',
}
export type PropsType = {
@@ -90,6 +91,9 @@ export function CallingButton({
} else if (buttonType === CallingButtonType.PRESENTING_OFF) {
classNameSuffix = 'presenting--off';
tooltipContent = i18n('icu:calling__button--presenting-on');
} else if (buttonType === CallingButtonType.MORE_OPTIONS) {
classNameSuffix = 'more-options';
tooltipContent = i18n('icu:CallingButton--more-options');
}
return (