Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

RaisedHandsCountExpandedLabel.ts 754B

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