Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/filmstrip/components/web/AudioMutedIndicator.js

34 lines
811 B

/* @flow */
import React from 'react';
import { IconMicSlash } from '../../../base/icons';
import { BaseIndicator } from '../../../base/react';
/**
* The type of the React {@code Component} props of {@link AudioMutedIndicator}.
*/
type Props = {
/**
* From which side of the indicator the tooltip should appear from.
*/
tooltipPosition: string
};
/**
* React {@code Component} for showing an audio muted icon with a tooltip.
*
* @returns {Component}
*/
const AudioMutedIndicator = ({ tooltipPosition }: Props) => (
<BaseIndicator
icon = { IconMicSlash }
iconId = 'mic-disabled'
iconSize = { 16 }
id = 'audioMuted'
tooltipKey = 'videothumbnail.mute'
tooltipPosition = { tooltipPosition } />
);
export default AudioMutedIndicator;