2017-07-10 22:29:44 +00:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
2017-06-19 16:01:44 +00:00
|
|
|
import BaseIndicator from './BaseIndicator';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* React {@code Component} for showing an audio muted icon with a tooltip.
|
|
|
|
*
|
2017-07-10 22:29:44 +00:00
|
|
|
* @extends Component
|
2017-06-19 16:01:44 +00:00
|
|
|
*/
|
2017-07-10 22:29:44 +00:00
|
|
|
class AudioMutedIndicator extends Component {
|
2017-06-19 16:01:44 +00:00
|
|
|
/**
|
2017-07-10 22:29:44 +00:00
|
|
|
* Implements React's {@link Component#render()}.
|
2017-06-19 16:01:44 +00:00
|
|
|
*
|
2017-07-10 22:29:44 +00:00
|
|
|
* @inheritdoc
|
|
|
|
* @returns {ReactElement}
|
2017-06-19 16:01:44 +00:00
|
|
|
*/
|
2017-07-10 22:29:44 +00:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<BaseIndicator
|
|
|
|
className = 'audioMuted toolbar-icon'
|
|
|
|
iconClassName = 'icon-mic-disabled'
|
|
|
|
tooltipKey = 'videothumbnail.mute' />
|
|
|
|
);
|
2017-06-19 16:01:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AudioMutedIndicator;
|