[react-native] Added two TextInput Android properties

Added two properties to the TextInputAndroidProperties interface:

  - disableFullscreenUI
  - textBreakStrategy
This commit is contained in:
Nick McGuire
2017-07-10 11:52:52 -04:00
parent fc73cdd92b
commit bc2c62ee87

View File

@@ -1020,6 +1020,14 @@ export interface TextInputIOSProperties {
*/
export interface TextInputAndroidProperties {
/**
* When false, if there is a small amount of space available around a text input (e.g. landscape orientation on a phone),
* the OS may choose to have the user edit the text inside of a full screen text input mode.
* When true, this feature is disabled and users will always edit the text directly inside of the text input.
* Defaults to false.
*/
disableFullscreenUI?: boolean
/**
* If defined, the provided image resource will be rendered on the left.
*/
@@ -1042,6 +1050,12 @@ export interface TextInputAndroidProperties {
*/
returnKeyLabel?: string
/**
* Set text break strategy on Android API Level 23+, possible values are simple, highQuality, balanced
* The default value is simple.
*/
textBreakStrategy?: "simple" | "highQuality" | "balanced"
/**
* The color of the textInput underline.
*/