2016-10-05 14:36:59 +00:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import { View } from 'react-native';
|
2018-11-29 13:42:31 +00:00
|
|
|
|
|
|
|
import { Icon } from '../../../base/font-icons';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
2017-06-10 22:50:42 +00:00
|
|
|
import styles from './styles';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Thumbnail badge showing that the participant is the dominant speaker in
|
|
|
|
* the conference.
|
|
|
|
*/
|
2018-05-10 23:01:55 +00:00
|
|
|
export default class DominantSpeakerIndicator extends Component {
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
|
|
|
* Implements React's {@link Component#render()}.
|
|
|
|
*
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<View style = { styles.dominantSpeakerIndicatorBackground }>
|
|
|
|
<Icon
|
2018-11-29 13:42:31 +00:00
|
|
|
name = 'dominant-speaker'
|
2016-10-05 14:36:59 +00:00
|
|
|
style = { styles.dominantSpeakerIndicator } />
|
|
|
|
</View>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|