You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TranscribingExpandedLabel.native.js 662B

12345678910111213141516171819202122232425
  1. // @flow
  2. import { translate } from '../../base/i18n';
  3. import { ExpandedLabel, type Props as AbstractProps } 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 TranscribingLabel}.
  10. */
  11. class TranscribingExpandedLabel 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('transcribing.expandedLabel');
  19. }
  20. }
  21. export default translate(TranscribingExpandedLabel);