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/base/testing/components/TestHint.ios.js

38 lines
985 B

/* @flow */
import React, { Component } from 'react';
import { Text } from 'react-native';
import { connect } from '../../redux';
import type { TestHintProps } from './AbstractTestHint';
import { _mapStateToProps } from './AbstractTestHint';
/**
* This is the iOS version of the TestHint.
*
* Be sure to check the description in TestHint.android and AbstractTestHint
* files to understand what a test hint is and why different iOS and Android
* components are necessary.
*/
class TestHint extends Component<TestHintProps> {
/**
* Renders the test hint on Android.
*
* @returns {ReactElement}
*/
render() {
if (!this.props._testModeEnabled) {
return null;
}
return (
<Text
accessibilityLabel = { this.props.value }
onPress = { this.props.onPress }
testID = { this.props.id } />
);
}
}
export default connect(_mapStateToProps)(TestHint);