Files
jitsi-meet/react/features/conference/components/native/RaisedHandsCountExpandedLabel.js
2022-09-27 10:25:20 +02:00

27 lines
679 B
JavaScript

// @flow
import { translate } from '../../../base/i18n';
import { type Props as AbstractProps, ExpandedLabel } from '../../../base/label';
type Props = AbstractProps & {
t: Function
}
/**
* A react {@code Component} that implements an expanded label as tooltip-like
* component to explain the meaning of the {@code RaisedHandsCountExpandedLabel}.
*/
class RaisedHandsCountExpandedLabel extends ExpandedLabel<Props> {
/**
* Returns the label specific text of this {@code ExpandedLabel}.
*
* @returns {string}
*/
_getLabel() {
return this.props.t('raisedHandsLabel');
}
}
export default translate(RaisedHandsCountExpandedLabel);