diff --git a/packages/rn-tester/js/examples/Text/TextExample.android.js b/packages/rn-tester/js/examples/Text/TextExample.android.js index 170812605565d0..28dc76ac9c9aad 100644 --- a/packages/rn-tester/js/examples/Text/TextExample.android.js +++ b/packages/rn-tester/js/examples/Text/TextExample.android.js @@ -213,21 +213,23 @@ class TextExample extends React.Component<{...}> { - + The text should wrap if it goes on multiple lines. See, this is going to the next line. - + Normal: WillHaveAHyphenWhenBreakingForNewLine - + None: WillNotHaveAHyphenWhenBreakingForNewLine - + Full: WillHaveAHyphenWhenBreakingForNewLine @@ -580,7 +582,7 @@ class TextExample extends React.Component<{...}> { - + Holisticly formulate inexpensive ideas before best-of-breed benefits. Continually expedite magnetic potentialities rather than client-focused interfaces. @@ -674,19 +676,19 @@ class TextExample extends React.Component<{...}> { - + Maximum of one line no matter now much I write here. If I keep writing it{"'"}ll just truncate after one line - + Maximum of one line no matter now much I write here. If I keep writing it{"'"}ll just truncate after one line - + Maximum of two lines no matter now much I write here. If I keep writing it{"'"}ll just truncate after two lines - + No maximum lines specified no matter now much I write here. If I keep writing it{"'"}ll just keep going and going @@ -751,16 +753,25 @@ class TextExample extends React.Component<{...}> { - + This very long text should be truncated with dots in the end. - + This very long text should be truncated with dots in the middle. - + This very long text should be truncated with dots in the beginning. - + This very long text should be clipped and this will not be visible. @@ -926,6 +937,9 @@ const styles = StyleSheet.create({ textAlignVertical: 'center', alignSelf: 'center', }, + wrappedText: { + maxWidth: 300, + }, }); function TextBaseLineLayoutExample(props: {}): React.Node {