Add tight lineHeight descender example to TextExample.android.js (#57223)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57223

Adds a `gjpqy` example to the Text > lineHeight RNTester section that exercises `fontSize: 24, lineHeight: 24`. Pure example addition for the upcoming `CustomLineHeightSpan` descender-clipping fix, providing the surface for a jest-e2e screenshot regression test.

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D108409230

fbshipit-source-id: acd97a92e6970e29b1a04090d14976336cdc4b37
This commit is contained in:
Pieter De Baets authored and meta-codesync[bot] committed 2026-06-16 07:22:33 -07:00
1 parent ea17ef8b88
commit ac9cba3f7b
1 file changed
+13
@@ -1119,6 +1119,19 @@ function LineHeightExample(props: {}): React.Node {
<RNTesterText style={{fontSize: 20}}>Continually</RNTesterText> expedite
magnetic potentialities rather than client-focused interfaces.
</RNTesterText>
<RNTesterText
style={[
{
fontSize: 24,
lineHeight: 24,
borderColor: 'black',
borderWidth: 1,
},
styles.wrappedText,
]}
testID="line-height-matches-font-size-descenders">
gjpqy
</RNTesterText>
<RNTesterText
style={[
{