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