snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import React from 'react';
|
||||
|
||||
import { IconMicSlash } from '../../../base/icons/svg';
|
||||
import BaseIndicator from '../../../base/react/components/web/BaseIndicator';
|
||||
import { TOOLTIP_POSITION } from '../../../base/ui/constants.any';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link AudioMutedIndicator}.
|
||||
*/
|
||||
interface IProps {
|
||||
|
||||
/**
|
||||
* From which side of the indicator the tooltip should appear from.
|
||||
*/
|
||||
tooltipPosition: TOOLTIP_POSITION;
|
||||
}
|
||||
|
||||
/**
|
||||
* React {@code Component} for showing an audio muted icon with a tooltip.
|
||||
*
|
||||
* @returns {Component}
|
||||
*/
|
||||
const AudioMutedIndicator = ({ tooltipPosition }: IProps) => (
|
||||
<BaseIndicator
|
||||
icon = { IconMicSlash }
|
||||
iconId = 'mic-disabled'
|
||||
iconSize = { 16 }
|
||||
id = 'audioMuted'
|
||||
tooltipKey = 'videothumbnail.mute'
|
||||
tooltipPosition = { tooltipPosition } />
|
||||
);
|
||||
|
||||
export default AudioMutedIndicator;
|
||||
Reference in New Issue
Block a user