diff --git a/docs/text.html b/docs/text.html index 5c84c40be67..9696171be65 100644 --- a/docs/text.html +++ b/docs/text.html @@ -23,7 +23,7 @@ each other on account of the literal newlines:
Specifies should fonts scale to respect Text Size accessibility setting on iOS.
Used to truncate the text with an elipsis after computing the text +};
Specifies should fonts scale to respect Text Size accessibility setting on iOS.
Used to truncate the text with an elipsis after computing the text layout, including line wrapping, such that the total number of lines does not exceed this number.
Invoked on mount and layout changes with
{nativeEvent: {layout: {x, y, width, height}}}
This function is called on press.
Used to locate this view in end-to-end tests.
When true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
In iOS, the way to display formatted text is by using NSAttributedString: you give the text that you want to display and annotate ranges with some specific formatting. In practice, this is very tedious. For React Native, we decided to use web paradigm for this where you can nest text to achieve the same effect.