mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
39 lines
1014 B
JavaScript
39 lines
1014 B
JavaScript
// @flow
|
|
|
|
import React from 'react';
|
|
import { View } from 'react-native';
|
|
import { connect } from 'react-redux';
|
|
|
|
import { IconRaiseHand } from '../../../base/icons/svg';
|
|
import BaseIndicator from '../../../base/react/components/native/BaseIndicator';
|
|
import AbstractRaisedHandIndicator, {
|
|
_mapStateToProps
|
|
} from '../AbstractRaisedHandIndicator';
|
|
|
|
import styles from './styles';
|
|
|
|
|
|
/**
|
|
* Thumbnail badge showing that the participant would like to speak.
|
|
*
|
|
* @augments Component
|
|
*/
|
|
class RaisedHandIndicator extends AbstractRaisedHandIndicator<Props> {
|
|
/**
|
|
* Renders the platform specific indicator element.
|
|
*
|
|
* @returns {React$Element<*>}
|
|
*/
|
|
_renderIndicator() {
|
|
return (
|
|
<View style = { styles.raisedHandIndicator }>
|
|
<BaseIndicator
|
|
icon = { IconRaiseHand }
|
|
iconStyle = { styles.raisedHandIcon } />
|
|
</View>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default connect(_mapStateToProps)(RaisedHandIndicator);
|