diff --git a/docs/alertios.html b/docs/alertios.html
index dc5da12b1c3..06a14e5333f 100644
--- a/docs/alertios.html
+++ b/docs/alertios.html
@@ -50,9 +50,8 @@ exports.examples 'Hello World',
null,
[
- {text: 'OK', onPress: (text) => console.log('OK pressed')},
- ],
- 'default'
+ {text: 'OK', onPress: (text) => console.log('OK pressed'), type: 'default'}
+ ]
)}>
<View style={styles.button}>
@@ -68,9 +67,9 @@ exports.examples 'Plain Text Entry',
null,
[
- {text: 'Submit', onPress: (text) => console.log('Text: ' + text)},
- ],
- 'plain-text'
+ {text: 'Submit', onPress: (text) => console.log('Text: ' + text), type: 'plain-text'},
+ {text: 'Cancel', onPress: () => console.log('Cancel'), style: 'cancel'}
+ ]
)}>
<View style={styles.button}>
@@ -86,9 +85,9 @@ exports.examples 'Secure Text Entry',
null,
[
- {text: 'Submit', onPress: (text) => console.log('Password: ' + text)},
- ],
- 'secure-text'
+ {text: 'Submit', onPress: (text) => console.log('Password: ' + text), type: 'secure-text'},
+ {text: 'Cancel', onPress: () => console.log('Cancel'), style: 'cancel'}
+ ]
)}>
<View style={styles.button}>
@@ -104,9 +103,9 @@ exports.examples 'Login & Password',
null,
[
- {text: 'Submit', onPress: (details) => console.log('Login: ' + details.login + '; Password: ' + details.password)},
- ],
- 'login-password'
+ {text: 'Submit', onPress: (details) => console.log('Login: ' + details.login + '; Password: ' + details.password), type: 'login-password'},
+ {text: 'Cancel', onPress: () => console.log('Cancel'), style: 'cancel'}
+ ]
)}>
<View style={styles.button}>