From bc2c62ee87ca04098a63f2c4606aa6e970f4be7c Mon Sep 17 00:00:00 2001 From: Nick McGuire Date: Mon, 10 Jul 2017 11:52:52 -0400 Subject: [PATCH] [react-native] Added two TextInput Android properties Added two properties to the TextInputAndroidProperties interface: - disableFullscreenUI - textBreakStrategy --- types/react-native/index.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 13d32d8321..dfdfde82c6 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -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. */