Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
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.
 
 
 
 
 
 
jitsi-meet/react/features/transcribing/components/TranscribingLabel.native.js

33 lines
777 B

// @flow
import React, { Component } from 'react';
import { translate } from '../../base/i18n';
import { Label } from '../../base/label';
import { connect } from '../../base/redux';
import { type Props, _mapStateToProps } from './AbstractTranscribingLabel';
/**
* React {@code Component} for displaying a label when a transcriber is in the
* conference.
*
* @augments Component
*/
class TranscribingLabel extends Component<Props> {
/**
* Renders the platform-specific label component.
*
* @inheritdoc
*/
render() {
if (!this.props._showLabel) {
return null;
}
return <Label text = { this.props.t('transcribing.tr') } />;
}
}
export default translate(connect(_mapStateToProps)(TranscribingLabel));