mirror of https://github.com/jitsi/jitsi-meet
parent
6dea107bcd
commit
008fb868a6
@ -0,0 +1,12 @@ |
||||
// @flow
|
||||
|
||||
/** |
||||
* The type of the React {@code Component} props of {@link TranscribingLabel}. |
||||
*/ |
||||
export type Props = { |
||||
|
||||
/** |
||||
* Invoked to obtain translated strings. |
||||
*/ |
||||
t: Function |
||||
}; |
@ -0,0 +1,31 @@ |
||||
// @flow
|
||||
|
||||
import React, { Component } from 'react'; |
||||
|
||||
import { translate } from '../../base/i18n'; |
||||
import { CircularLabel } from '../../base/label'; |
||||
|
||||
import { type Props } from './AbstractTranscribingLabel'; |
||||
|
||||
/** |
||||
* React {@code Component} for displaying a label when a transcriber is in the |
||||
* conference. |
||||
* |
||||
* @extends Component |
||||
*/ |
||||
class TranscribingLabel extends Component<Props> { |
||||
|
||||
/** |
||||
* Renders the platform-specific label component. |
||||
* |
||||
* @inheritdoc |
||||
*/ |
||||
render() { |
||||
return ( |
||||
<CircularLabel |
||||
label = { this.props.t('transcribing.tr') } /> |
||||
); |
||||
} |
||||
} |
||||
|
||||
export default translate(TranscribingLabel); |
Loading…
Reference in new issue