mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
fix(rn-tester): playground description not visible in dark mode (#47346)
Summary: The informational description in the `RNTesterPlayground` is not visible in dark mode. To address this, the `RNTesterText`, which takes into account the theme, is used. ## Changelog: [INTERNAL] [FIXED] - `RNTesterPlayground` description not visible in dark mode Pull Request resolved: https://github.com/facebook/react-native/pull/47346 Test Plan: | Before | After | | ---------- | ---------- | |  |  | Reviewed By: cortinico Differential Revision: D65319138 Pulled By: Abbondanzo fbshipit-source-id: ff541be9705fb799cc4aa3624a9e2966a76a0f8d
This commit is contained in:
1 parent
4afc47a588
commit
566d30f88a
1 file changed
+5
-2
@@ -11,13 +11,16 @@
|
||||
|
||||
import type {RNTesterModuleExample} from '../../types/RNTesterTypes';
|
||||
|
||||
import RNTesterText from '../../components/RNTesterText';
|
||||
import * as React from 'react';
|
||||
import {StyleSheet, Text, View} from 'react-native';
|
||||
import {StyleSheet, View} from 'react-native';
|
||||
|
||||
function Playground() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text>Edit "RNTesterPlayground.js" to change this file</Text>
|
||||
<RNTesterText>
|
||||
Edit "RNTesterPlayground.js" to change this file
|
||||
</RNTesterText>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user