From 744b806c439cfd2ca5ea24c5c05558937caebee8 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 18 Nov 2015 14:46:20 +0000 Subject: [PATCH] update website --- docs/switchandroid.html | 2 +- docs/textinput.html | 2 +- docs/toolbarandroid.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/switchandroid.html b/docs/switchandroid.html index 92d0e4f14aa..3d4ab79a139 100644 --- a/docs/switchandroid.html +++ b/docs/switchandroid.html @@ -1,4 +1,4 @@ -SwitchAndroid – React Native | A framework for building native apps using React

SwitchAndroid

Standard Android two-state toggle component

Edit on GitHubProps #

disabled bool #

If true, this component can't be interacted with.

onValueChange function #

Invoked with the new value when the value chages.

testID string #

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

value bool #

Boolean value of the switch.

Edit on GitHubExamples #

'use strict'; +SwitchAndroid – React Native | A framework for building native apps using React

SwitchAndroid

Standard Android two-state toggle component

Edit on GitHubProps #

disabled bool #

If true, this component can't be interacted with.

onValueChange function #

Invoked with the new value when the value chages.

testID string #

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

value bool #

Boolean value of the switch.

Edit on GitHubExamples #

'use strict'; var React = require('React'); diff --git a/docs/textinput.html b/docs/textinput.html index e1fa3fcf84e..7972730bffa 100644 --- a/docs/textinput.html +++ b/docs/textinput.html @@ -16,7 +16,7 @@ example:

<TextInput var notMultiline = { onSubmitEditing: true, - };

Edit on GitHubProps #

autoCapitalize enum('none', 'sentences', 'words', 'characters') #

Can tell TextInput to automatically capitalize certain characters.

  • characters: all characters,
  • words: first letter of each word
  • sentences: first letter of each sentence (default)
  • none: don't auto capitalize anything

autoCorrect bool #

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

autoFocus bool #

If true, focuses the input on componentDidMount. + };

Edit on GitHubProps #

autoCapitalize enum('none', 'sentences', 'words', 'characters') #

Can tell TextInput to automatically capitalize certain characters.

  • characters: all characters,
  • words: first letter of each word
  • sentences: first letter of each sentence (default)
  • none: don't auto capitalize anything

autoCorrect bool #

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

autoFocus bool #

If true, focuses the input on componentDidMount. The default value is false.

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.

editable bool #

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

keyboardType enum("default", 'numeric', 'email-address', "ascii-capable", 'numbers-and-punctuation', 'url', 'number-pad', 'phone-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search') #

Determines which keyboard to open, e.g.numeric.

The following values work across platforms: diff --git a/docs/toolbarandroid.html b/docs/toolbarandroid.html index 9d8cfa1bc13..62893bcf004 100644 --- a/docs/toolbarandroid.html +++ b/docs/toolbarandroid.html @@ -18,7 +18,7 @@ onActionSelected: if (position === 0) { // index of 'Settings' showSettings(); } -}

Edit on GitHubProps #

actions [{title: string, icon: optionalImageSource, show: enum('always', 'ifRoom', 'never'), showWithText: bool}] #

Sets possible actions on the toolbar as part of the action menu. These are displayed as icons +}

Edit on GitHubProps #

actions [{title: string, icon: optionalImageSource, show: enum('always', 'ifRoom', 'never'), showWithText: bool}] #

Sets possible actions on the toolbar as part of the action menu. These are displayed as icons or text on the right side of the widget. If they don't fit they are placed in an 'overflow' menu.

This property takes an array of objects, where each object has the following keys:

  • title: required, the title of this action
  • icon: the icon for this action, e.g. require('image!some_icon')
  • show: when to show this action as an icon or hide it in the overflow menu: always, ifRoom or never
  • showWithText: boolean, whether to show text alongside the icon or not

logo optionalImageSource #

Sets the toolbar logo.

navIcon optionalImageSource #

Sets the navigation icon.

onActionSelected function #

Callback that is called when an action is selected. The only argument that is passeed to the