diff --git a/packages/rn-tester/js/examples/Text/TextExample.android.js b/packages/rn-tester/js/examples/Text/TextExample.android.js
index 810778e2a02..1404e6f3270 100644
--- a/packages/rn-tester/js/examples/Text/TextExample.android.js
+++ b/packages/rn-tester/js/examples/Text/TextExample.android.js
@@ -405,7 +405,7 @@ function FontVariantsExample(props: {}): React.Node {
function EllipsizeModeExample(props: {}): React.Node {
return (
- <>
+
This very long text should be truncated with dots in the end.
@@ -427,13 +427,13 @@ function EllipsizeModeExample(props: {}): React.Node {
style={styles.wrappedText}>
This very long text should be clipped and this will not be visible.
- >
+
);
}
function FontFamilyExample(props: {}): React.Node {
return (
- <>
+
Sans-Serif
Sans-Serif Bold
@@ -449,13 +449,13 @@ function FontFamilyExample(props: {}): React.Node {
Unknown Font Family
- >
+
);
}
function TextShadowExample(props: {}): React.Node {
return (
- <>
+
Demo text shadow
- >
+
);
}
@@ -588,7 +588,7 @@ function HyphenationExample(props: {}): React.Node {
function FontWeightExample(props: {}): React.Node {
return (
- <>
+
Move fast and be bold
@@ -613,7 +613,7 @@ function FontWeightExample(props: {}): React.Node {
FONT WEIGHT 300
FONT WEIGHT 200
FONT WEIGHT 100
- >
+
);
}
@@ -671,7 +671,7 @@ function ContainerBackgroundColorExample(props: {}): React.Node {
function TextDecorationExample(props: {}): React.Node {
return (
- <>
+
Solid underline
@@ -699,13 +699,13 @@ function TextDecorationExample(props: {}): React.Node {
{' '}
text nodes
- >
+
);
}
function NestedExample(props: {}): React.Node {
return (
- <>
+
console.log('1st')}>
(Normal text,
@@ -807,7 +807,7 @@ function NestedExample(props: {}): React.Node {
)
- >
+
);
}
@@ -1070,7 +1070,7 @@ function LineHeightExample(props: {}): React.Node {
function LetterSpacingExample(props: {}): React.Node {
return (
<>
-
+
letterSpacing = 0
@@ -1380,10 +1380,10 @@ const examples = [
name: 'fontSize',
render(): React.Node {
return (
- <>
+
Size 23
Size 8
- >
+
);
},
},
@@ -1392,10 +1392,10 @@ const examples = [
name: 'color',
render(): React.Node {
return (
- <>
+
Red color
Blue color
- >
+
);
},
},
@@ -1411,7 +1411,7 @@ const examples = [
name: 'fontStyle',
render(): React.Node {
return (
- <>
+
Move fast and be italic
@@ -1422,7 +1422,7 @@ const examples = [
Move fast and be italic, but just be longer so that you don't fit on
a single line and make sure text is not truncated.
- >
+
);
},
},
diff --git a/packages/rn-tester/js/examples/Text/TextExample.ios.js b/packages/rn-tester/js/examples/Text/TextExample.ios.js
index 784cc150934..9bff1c88928 100644
--- a/packages/rn-tester/js/examples/Text/TextExample.ios.js
+++ b/packages/rn-tester/js/examples/Text/TextExample.ios.js
@@ -721,9 +721,10 @@ const examples = [
},
{
title: 'Font Family',
+ name: 'fontFamily',
render: function (): React.Node {
return (
-
+
Cochin
@@ -758,9 +759,10 @@ const examples = [
},
{
title: 'Font Size',
+ name: 'fontSize',
render: function (): React.Node {
return (
-
+
Size 23
Size 8
@@ -769,9 +771,10 @@ const examples = [
},
{
title: 'Color',
+ name: 'color',
render: function (): React.Node {
return (
-
+
Red color
Blue color
@@ -780,9 +783,10 @@ const examples = [
},
{
title: 'Font Weight',
+ name: 'fontWeight',
render: function (): React.Node {
return (
-
+
Move fast and be bold
Move fast and be normal
FONT WEIGHT 900
@@ -809,9 +813,10 @@ const examples = [
},
{
title: 'Font Style',
+ name: 'fontStyle',
render: function (): React.Node {
return (
-
+
Normal text
Italic text
@@ -833,9 +838,10 @@ const examples = [
},
{
title: 'Text Decoration',
+ name: 'textDecoration',
render: function (): React.Node {
return (
-
+
only supports other and raw text (strings) as children.': string),
render: function (): React.Node {
return (
-
+
(Normal text,
@@ -981,9 +988,10 @@ const examples = [
},
{
title: 'Letter Spacing',
+ name: 'letterSpacing',
render: function (): React.Node {
return (
-
+
letterSpacing = 0
letterSpacing = 2
@@ -1240,9 +1248,10 @@ const examples = [
},
{
title: 'Text shadow',
+ name: 'textShadow',
render: function (): React.Node {
return (
-
+
+
This very long text should be truncated with dots in the end.