From 728e877d343f5f30aa6d893423b1cf3ea8cf086d Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 10 Jan 2017 02:16:33 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/alertios.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/alertios.html b/releases/next/docs/alertios.html index 10767734d97..53a221d0787 100644 --- a/releases/next/docs/alertios.html +++ b/releases/next/docs/alertios.html @@ -6,7 +6,7 @@ message or create a prompt for user input.

Creating an iOS alert:

'Enter a value', null, text => console.log("You entered "+text) -);

We recommend using the Alert.alert method for +);

We recommend using the Alert.alert method for cross-platform support if you don't need to create iOS-only prompts.

Methods #

static alert(title, message?, callbackOrButtons?, type?) #

Create and display a popup alert.

Parameters:
Name and TypeDescription
title

string

The dialog's title.

[message]

string

An optional message that appears below the dialog's title.

[callbackOrButtons]

?(() => void) | ButtonsArray

This optional argument should be either a single-argument function or an array of buttons. If passed