2019-03-29 13:26:49 +00:00
|
|
|
// @flow
|
2019-03-27 10:23:41 +00:00
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import { connect } from '../../../base/redux';
|
|
|
|
|
|
|
|
import AbstractRaisedHandIndicator, {
|
|
|
|
type Props,
|
|
|
|
_mapStateToProps
|
|
|
|
} from '../AbstractRaisedHandIndicator';
|
|
|
|
|
2019-03-29 13:26:49 +00:00
|
|
|
import BaseIndicator from './BaseIndicator';
|
2019-03-27 10:23:41 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Thumbnail badge showing that the participant would like to speak.
|
|
|
|
*
|
|
|
|
* @extends Component
|
|
|
|
*/
|
|
|
|
class RaisedHandIndicator extends AbstractRaisedHandIndicator<Props> {
|
|
|
|
/**
|
2019-03-29 13:26:49 +00:00
|
|
|
* Renders the platform specific indicator element.
|
2019-03-27 10:23:41 +00:00
|
|
|
*
|
2019-03-29 13:26:49 +00:00
|
|
|
* @returns {React$Element<*>}
|
2019-03-27 10:23:41 +00:00
|
|
|
*/
|
2019-03-29 13:26:49 +00:00
|
|
|
_renderIndicator() {
|
2019-03-27 10:23:41 +00:00
|
|
|
return (
|
2019-03-29 13:26:49 +00:00
|
|
|
<BaseIndicator
|
|
|
|
highlight = { true }
|
|
|
|
icon = 'raised-hand' />
|
2019-03-27 10:23:41 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default connect(_mapStateToProps)(RaisedHandIndicator);
|