When set to true, indicates that the view is an accessibility element. The default value for a Text element is true. When set to true, indicates that the view is an accessibility element. The default value for a Text element is true.
Specifies whether font should be scaled down automatically to fit given style constraints. It is for ios only Specifies whether font should be scaled down automatically to fit given style constraints. It is for ios only
Specifies whether fonts should scale to respect Text Size accessibility settings. The default is true. Specifies whether fonts should scale to respect Text Size accessibility settings. The default is true.
Specifies the disabled state of the text view for testing purposes It is for android only Specifies the disabled state of the text view for testing purposes It is for android only
When numberOfLines is set, this prop defines how text will be truncated. numberOfLines must be set in conjunction with this prop. When numberOfLines is set, this prop defines how text will be truncated. numberOfLines must be set in conjunction with this prop.
Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0). It is for ios only Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0). It is for ios only
Used to locate this view from native code. Used to locate this view from native code.
Used to truncate the text with an ellipsis after computing the text layout, including line wrapping, such that the total number of lines does not exceed this number. Used to truncate the text with an ellipsis 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 Invoked on mount and layout changes with
This function is called on long press. This function is called on long press.
This function is called on press. This function is called on press.
When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button
Lets the user select text, to use the native copy and paste functionality. Lets the user select text, to use the native copy and paste functionality.
The highlight color of the text. It is for android only The highlight color of the text. It is for android only
It is used for styling the object It is used for styling the object
When true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down. It is for ios only When true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down. It is for ios only
Used to locate this view in end-to-end tests. Used to locate this view in end-to-end tests.
Set text break strategy on Android, possible values are simple, highQuality, balanced The default value is highQuality. It is for android only Set text break strategy on Android, possible values are simple, highQuality, balanced The default value is highQuality. It is for android only
Generated using TypeDoc
key for others property.