From 366dbd1753aa361cefed5c4d7957df3842fa2b58 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
Specifies text alignment. The value 'justify' is only supported on iOS and
fallbacks to left on Android.
Set to false to remove extra font padding intended to make space for certain ascenders / descenders.
With some fonts, this padding can make text look slightly misaligned when centered vertically.
-For best results also set textAlignVertical to center. Default is true.
Used to locate this view in end-to-end tests.
Specifies whether font should be scaled down automatically to fit given style constraints.
Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0).
When true, no visual change is made when text is pressed down. By
+For best results also set textAlignVertical to center. Default is true.
Used to locate this view in end-to-end tests.
Set text break strategy on Android API Level 23+, possible values are simple, highQuality, balanced
+The default value is highQuality.
Specifies whether font should be scaled down automatically to fit given style constraints.
Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0).
When true, no visual change is made when text is pressed down. By
default, a gray oval highlights the text on press down.
You can edit the content above on GitHub and send us a pull request!
Both iOS and Android allow you to display formatted text by annotating ranges of a string with specific formatting like bold or colored text (NSAttributedString on iOS, SpannableString on Android). 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.
If defined, the provided image resource will be rendered on the left.
Padding between the inline image, if any, and the text input itself.
Sets the number of lines for a TextInput. Use it with multiline set to
-true to be able to fill the lines.
Sets the return key to the label. Use it instead of returnKeyType.
When the clear button should appear on the right side of the text view.
If true, clears the text field automatically when editing begins.
Determines the types of data converted to clickable URLs in the text input.
+true to be able to fill the lines.
Sets the return key to the label. Use it instead of returnKeyType.
Set text break strategy on Android API Level 23+, possible values are simple, highQuality, balanced
+The default value is simple.
When the clear button should appear on the right side of the text view.
If true, clears the text field automatically when editing begins.
Determines the types of data converted to clickable URLs in the text input.
Only valid if multiline={true} and editable={false}.
By default no data types are detected.
You can provide one type or an array of many types.
Possible values for dataDetectorTypes are:
'phoneNumber''link''address''calendarEvent''none''all'If true, the keyboard disables the return key when there is no text and
automatically enables it when there is text. The default value is false.
Determines the color of the keyboard.
Callback that is called when a key is pressed.