From f9c8f6ff837086bcf0ab9c4789895a289bae2886 Mon Sep 17 00:00:00 2001 From: coldsmirk <18739624+coldsmirk@users.noreply.github.com> Date: Sun, 29 Nov 2026 22:16:53 -0800 Subject: [PATCH] Reproduce the black ellipsis at an inline view in RNTesterPlayground --- .../examples/Playground/RNTesterPlayground.js | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js b/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js index 8e6b10479de7..0f8c5d290dc1 100644 --- a/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js +++ b/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js @@ -10,23 +10,37 @@ import type {RNTesterModuleExample} from '../../types/RNTesterTypes'; -import RNTesterText from '../../components/RNTesterText'; import * as React from 'react'; -import {StyleSheet, View} from 'react-native'; +import {StyleSheet, Text, View} from 'react-native'; function Playground() { return ( - - Edit "RNTesterPlayground.js" to change this file - + + Cut inside the text, which is too long for one line + + + Cut at a view and more text + ); } const styles = StyleSheet.create({ container: { - padding: 10, + padding: 24, + gap: 16, + backgroundColor: '#3b4a5a', + }, + text: { + width: 200, + fontSize: 24, + color: 'white', + }, + view: { + width: 120, + height: 12, + backgroundColor: 'tomato', }, });