jiti-meet/react/features/filmstrip/components/native/DominantSpeakerIndicator.js

26 lines
589 B
JavaScript
Raw Normal View History

2019-03-27 10:23:41 +00:00
// @flow
import React, { Component } from 'react';
2019-08-30 16:39:06 +00:00
import { IconDominantSpeaker } from '../../../base/icons';
2019-04-15 16:23:28 +00:00
import { BaseIndicator } from '../../../base/react';
/**
* 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<{}> {
/**
2019-03-29 13:26:49 +00:00
* Implements {@code Component#render}.
*
* @inheritdoc
*/
render() {
return (
2019-03-29 13:26:49 +00:00
<BaseIndicator
highlight = { true }
2019-08-30 16:39:06 +00:00
icon = { IconDominantSpeaker } />
);
}
}