Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,13 @@ export type TextInputAndroidProps = Readonly<{
*/
textBreakStrategy?: ?('simple' | 'highQuality' | 'balanced'),

/**
* Align the input text to the top, center, or bottom of the field.
* Defaults to `'auto'`.
* @platform android
*/
textAlignVertical?: ?('auto' | 'top' | 'bottom' | 'center'),

/**
* The color of the `TextInput` underline.
* @platform android
Expand Down
9 changes: 5 additions & 4 deletions packages/react-native/ReactNativeApi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<67eb674c33870c82986054f0cee48385>>
* @generated SignedSource<<82e308c1a4f2f713285c7586ff3eb618>>
*
* This file was generated by scripts/js-api/build-types/index.js.
*/
Expand Down Expand Up @@ -5051,6 +5051,7 @@ declare type TextInputAndroidProps = {
readonly rows?: number
readonly selectionHandleColor?: ColorValue
readonly showSoftInputOnFocus?: boolean
readonly textAlignVertical?: "auto" | "bottom" | "center" | "top"
readonly textBreakStrategy?: "balanced" | "highQuality" | "simple"
readonly underlineColorAndroid?: ColorValue
}
Expand Down Expand Up @@ -6135,8 +6136,8 @@ export {
TaskProvider, // 266dedf2
Text, // f792e51d
TextContentType, // 239b3ecc
TextInput, // 1c32d882
TextInputAndroidProps, // 3f09ce49
TextInput, // 4d0a088b
TextInputAndroidProps, // 7109938a
TextInputBlurEvent, // b77af40e
TextInputChangeEvent, // f55eef98
TextInputContentSizeChangeEvent, // a27cd32a
Expand All @@ -6145,7 +6146,7 @@ export {
TextInputIOSProps, // 0d05a855
TextInputInstance, // 5a0c0e0d
TextInputKeyPressEvent, // 546c5d07
TextInputProps, // 08c36ff7
TextInputProps, // a56c62a0
TextInputSelectionChangeEvent, // e58f2abc
TextInputSubmitEditingEvent, // 6bcb2aa5
TextInstance, // 05463a96
Expand Down
Loading