diff --git a/docs/textinput.html b/docs/textinput.html index 43703346b05..d119875edbb 100644 --- a/docs/textinput.html +++ b/docs/textinput.html @@ -25,7 +25,8 @@ to events and updating the value prop to keep the controlled state in sync.

< - email-address

maxLength number #

Limits the maximum number of characters that can be entered. Use this instead of implementing the logic in JS to avoid flicker.

multiline bool #

If true, the text input can be multiple lines. The default value is false.

onBlur function #

Callback that is called when the text input is blurred

onChange function #

Callback that is called when the text input's text changes.

onChangeText function #

Callback that is called when the text input's text changes. -Changed text is passed as an argument to the callback handler.

onEndEditing function #

Callback that is called when text input ends.

onFocus function #

Callback that is called when the text input is focused

onLayout function #

Invoked on mount and layout changes with {x, y, width, height}.

onSubmitEditing function #

Callback that is called when the text input's submit button is pressed.

placeholder string #

The string that will be rendered before text input has been entered

placeholderTextColor string #

The text color of the placeholder string

secureTextEntry bool #

If true, the text input obscures the text entered so that sensitive text +Changed text is passed as an argument to the callback handler.

onEndEditing function #

Callback that is called when text input ends.

onFocus function #

Callback that is called when the text input is focused

onLayout function #

Invoked on mount and layout changes with {x, y, width, height}.

onSubmitEditing function #

Callback that is called when the text input's submit button is pressed. +Invalid if multiline={true} is specified.

placeholder string #

The string that will be rendered before text input has been entered

placeholderTextColor string #

The text color of the placeholder string

secureTextEntry bool #

If true, the text input obscures the text entered so that sensitive text like passwords stay secure. The default value is false.

style Text#style #

Styles

testID string #

Used to locate this view in end-to-end tests

value string #

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses this works great, but in some