diff --git a/src/apis/Alert.res b/src/apis/Alert.res index 11bc7036..e7a75224 100644 --- a/src/apis/Alert.res +++ b/src/apis/Alert.res @@ -19,6 +19,13 @@ external alert: ( unit, ) => unit = "alert" +type type_ = [ + | #default + | #"plain-text" + | #"secure-text" + | #"login-password" +] + @scope("Alert") @module("react-native") external prompt: ( ~title: string, @@ -28,13 +35,7 @@ external prompt: ( | #callback(string => unit) | #buttons(array