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.

TranscribingLabel.web.js 956B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // @flow
  2. import Tooltip from '@atlaskit/tooltip';
  3. import React, { Component } from 'react';
  4. import { translate } from '../../base/i18n';
  5. import { CircularLabel } from '../../base/label';
  6. import { type Props } from './AbstractTranscribingLabel';
  7. /**
  8. * React {@code Component} for displaying a label when a transcriber is in the
  9. * conference.
  10. *
  11. * @extends Component
  12. */
  13. class TranscribingLabel extends Component<Props> {
  14. /**
  15. * Implements React's {@link Component#render()}.
  16. *
  17. * @inheritdoc
  18. * @returns {ReactElement}
  19. */
  20. render() {
  21. return (
  22. <Tooltip
  23. content = { this.props.t('transcribing.labelToolTip') }
  24. position = { 'left' }>
  25. <CircularLabel
  26. className = 'recording-label'
  27. label = { this.props.t('transcribing.tr') } />
  28. </Tooltip>
  29. );
  30. }
  31. }
  32. export default translate(TranscribingLabel);