Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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