diff --git a/index.ios.js b/index.ios.js index b68126a..4f9d72d 100644 --- a/index.ios.js +++ b/index.ios.js @@ -1,5 +1,5 @@ import { - AlertIOS + Alert } from 'react-native'; export default function prompt( @@ -8,5 +8,5 @@ export default function prompt( callbackOrButtons?: ?((text: string) => void) | Object, options?: Object ): void { - AlertIOS.prompt(title, message, callbackOrButtons, options.type, options.defaultValue, options.keyboardType); + Alert.prompt(title, message, callbackOrButtons, options.type, options.defaultValue, options.keyboardType); };