2019-03-27 10:23:41 +00:00
|
|
|
// @flow
|
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
import React, { Component } from 'react';
|
2018-11-29 13:42:31 +00:00
|
|
|
|
2019-04-15 16:23:28 +00:00
|
|
|
import { BaseIndicator } from '../../../base/react';
|
2016-10-05 14:36:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Thumbnail badge showing that the participant is the dominant speaker in
|
|
|
|
* the conference.
|
|
|
|
*/
|
2019-03-27 10:23:41 +00:00
|
|
|
export default class DominantSpeakerIndicator extends Component<{}> {
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
2019-03-29 13:26:49 +00:00
|
|
|
* Implements {@code Component#render}.
|
2016-10-05 14:36:59 +00:00
|
|
|
*
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
|
|
|
render() {
|
|
|
|
return (
|
2019-03-29 13:26:49 +00:00
|
|
|
<BaseIndicator
|
|
|
|
highlight = { true }
|
|
|
|
icon = 'dominant-speaker' />
|
2016-10-05 14:36:59 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|