2016-10-05 14:36:59 +00:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import Icon from 'react-native-vector-icons/FontAwesome';
|
|
|
|
|
|
|
|
import { styles } from './styles';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Thumbnail badge for displaying the video mute status of a participant.
|
|
|
|
*/
|
|
|
|
export class VideoMutedIndicator extends Component {
|
|
|
|
/**
|
|
|
|
* Implements React's {@link Component#render()}.
|
|
|
|
*
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
|
|
|
render() {
|
|
|
|
// TODO: This should use video-camera-slash, but that doesn't exist in
|
|
|
|
// the fontawesome icon set yet.
|
|
|
|
return (
|
|
|
|
<Icon
|
|
|
|
name = 'eye-slash'
|
2016-12-21 22:32:11 +00:00
|
|
|
style = { styles.thumbnailIndicator } />
|
2016-10-05 14:36:59 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|