mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +08:00
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
This commit is contained in:
committed by
Facebook Github Bot 7
parent
52b4ae179c
commit
f38d9a1147
@@ -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 <caption>Example with custom buttons</caption>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user