diff --git a/docs/alertios.html b/docs/alertios.html index f645c68dfb2..12a3b4be5c0 100644 --- a/docs/alertios.html +++ b/docs/alertios.html @@ -1,4 +1,14 @@ -React Native | A framework for building native apps using React

AlertIOS

AlertIOS manages native iOS alerts, option sheets, and share dialogs

Methods #

static alert(title: string, message?: string, buttons?: Array<{ +React Native | A framework for building native apps using React

AlertIOS

Launches an alert dialog with the specified title and message.

Optionally provide a list of buttons. Tapping any button will fire the +respective onPress callback and dismiss the alert. By default, the only +button will be an 'OK' button

The last button in the list will be considered the 'Primary' button and +it will appear bold.

AlertIOS.alert( + 'Foo Title', + 'My Alert Msg', + [ + {text: 'Foo', onPress: () => console.log('Foo Pressed!')}, + {text: 'Bar', onPress: () => console.log('Bar Pressed!')}, + ] +)}

Methods #

static alert(title: string, message?: string, buttons?: Array<{ text: ?string; onPress: ?Function; }>) #

Edit on GitHubExamples #

'use strict'; diff --git a/docs/animation.html b/docs/animation.html index 3338d773f68..dcde00abd48 100644 --- a/docs/animation.html +++ b/docs/animation.html @@ -1,6 +1,4 @@ -React Native | A framework for building native apps using React

Animation

All rights reserved.

This source code is licensed under the BSD-style license found in the -LICENSE file in the root directory of this source tree. An additional grant -of patent rights can be found in the PATENTS file in the same directory.

@flow

Methods #

static startAnimation(node: any, duration: number, delay: number, easing: (string | EasingFunction), properties: {[key: string]: any}) #

static stopAnimation(tag: number) #

© 2015 Facebook Inc.