1.0.2 • Published 4 years ago

react-native-modal-alert-wrapper v1.0.2

Weekly downloads
10
License
ISC
Repository
github
Last release
4 years ago

react-native-modal-wrapper

npm install --save react-native-modal-alert-wrapper

This package was designed to work with react-native's Modal and Alert components. When working with native components, the screen may be locked when these two components are called.

You don't need to change the code, just replace one component:

Use AlertWrapper insted Alert

    AlertWrapper.alert('title', 'My message', [{ text: 'Ok', onPress: () => { console.log('Ok') }}]);