From 0af64917bb618d8d6fa2be1778b4951cbe8fb982 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
Behind the scenes, React Native converts this to a flat NSAttributedString or SpannableString that contains the following information:
On iOS, you can nest views within your Text component. Here's an example:
In order to use this feature, you must give the view a width and a height.
The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.
The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.