Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

RaisedHandsCountExpandedLabel.js 679B

1234567891011121314151617181920212223242526
  1. // @flow
  2. import { translate } from '../../../base/i18n';
  3. import { type Props as AbstractProps, ExpandedLabel } from '../../../base/label';
  4. type Props = AbstractProps & {
  5. t: Function
  6. }
  7. /**
  8. * A react {@code Component} that implements an expanded label as tooltip-like
  9. * component to explain the meaning of the {@code RaisedHandsCountExpandedLabel}.
  10. */
  11. class RaisedHandsCountExpandedLabel extends ExpandedLabel<Props> {
  12. /**
  13. * Returns the label specific text of this {@code ExpandedLabel}.
  14. *
  15. * @returns {string}
  16. */
  17. _getLabel() {
  18. return this.props.t('raisedHandsLabel');
  19. }
  20. }
  21. export default translate(RaisedHandsCountExpandedLabel);