Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

TranscribingExpandedLabel.native.tsx 737B

1234567891011121314151617181920212223
  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 TranscribingLabel}.
  8. */
  9. class TranscribingExpandedLabel 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('transcribing.expandedLabel');
  17. }
  18. }
  19. export default translate(TranscribingExpandedLabel);