From f38d9a1147465096a82e32dab60d8a340d7758dc Mon Sep 17 00:00:00 2001 From: yueshuaijie Date: Thu, 14 Jul 2016 19:24:47 -0700 Subject: [PATCH] Fix description of AlertIOS.prompt()'s parameter defaultValue. Summary: The description of `AlertIOS.prompt()` parameter `defaultValue` is wrong, correct it. Closes https://github.com/facebook/react-native/pull/8793 Differential Revision: D3566939 fbshipit-source-id: c6378d8142c66e9f9b854f216afcf10c489ec750 --- Libraries/Utilities/AlertIOS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Utilities/AlertIOS.js b/Libraries/Utilities/AlertIOS.js index 50a5accc4..19df75f3c 100644 --- a/Libraries/Utilities/AlertIOS.js +++ b/Libraries/Utilities/AlertIOS.js @@ -163,7 +163,7 @@ class AlertIOS { * example). `style` should be one of 'default', 'cancel' or 'destructive'. * @param type This configures the text input. One of 'plain-text', * 'secure-text' or 'login-password'. - * @param defaultValue The dialog's title. + * @param defaultValue The default text in text input. * * @example Example with custom buttons *