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:
Родитель
52b4ae179c
Коммит
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>
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче