TextInput#isFocused()

isFocused(): boolean Returns if the input is currently focused.

TextInput#keyboardAppearance

ioskeyboardAppearance enum('default', 'light', 'dark') Determines the color of the keyboard.

TextInput#clearButtonMode

iosclearButtonMode enum('never', 'while-editing', 'unless-editing', 'always') When the clear button should appear on the right side of the text view

TextInput#editable

editable bool If false, text is not editable. The default value is true.

TextInput#enablesReturnKeyAutomatically

iosenablesReturnKeyAutomatically bool 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.

TextInput#clearTextOnFocus

iosclearTextOnFocus bool If true, clears the text field automatically when editing begins

TextInput#defaultValue

defaultValue string Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you don't want to deal with listening to events and updating the value prop to keep the controlled state in sync.

TextInput#blurOnSubmit

blurOnSubmit bool If true, the text field will blur when submitted. The default value is true for single-line fields and false for multiline fields. Note that for multiline fields, setting blurOnSubmit to true means that pressing return will blur the field and trigger the onSubmitEditing event instead of inserting a newline into the field.

TextInput#autoCorrect

autoCorrect bool If false, disables auto-correct. The default value is true.

TextInput#clear()

clear() Removes all text from the input.