From 711dbbbce35a924726ba04bab1b994ececdd4c84 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 26 Dec 2016 13:21:17 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/textinput.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/releases/next/docs/textinput.html b/releases/next/docs/textinput.html index b192015f570..bac61cfc7d3 100644 --- a/releases/next/docs/textinput.html +++ b/releases/next/docs/textinput.html @@ -104,7 +104,9 @@ is not provided for performance reasons.

multiline={true} is specified.

placeholder node #

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

placeholderTextColor color #

The text color of the placeholder string.

returnKeyType enum('done', 'go', 'next', 'search', 'send', 'none', 'previous', 'default', 'emergency-call', 'google', 'join', 'route', 'yahoo') #

Determines how the return key should look. On Android you can also use returnKeyLabel.

Cross platform

The following values work across platforms:

  • done
  • go
  • next
  • search
  • send

Android Only

The following values work on Android only:

  • none
  • previous

iOS Only

The following values work on iOS only:

  • default
  • emergency-call
  • google
  • join
  • route
  • yahoo

secureTextEntry bool #

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

selectTextOnFocus bool #

If true, all text will automatically be selected on focus.

selection {start: number, end: number} #

The start and end of the text input's selection. Set start and end to -the same value to position the cursor.

selectionColor color #

The highlight (and cursor on iOS) color of the text input.

style Text#style #

Styles

value string #

The value to show for the text input. TextInput is a controlled +the same value to position the cursor.

selectionColor color #

The highlight (and cursor on iOS) color of the text input.

style Text#style #

Note that not all Text styles are supported, +see Issue#7070 +for more detail.

Styles

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 cases this may cause flickering - one common cause is preventing edits