Files
jitsi-meet/react/features/filmstrip/components/native/RaisedHandIndicator.js
Robert Pintilii 05a79ec793 ref: Remove index files (#13154)
Fix imports
Convert some files to TS
2023-04-03 16:33:18 +03:00

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);