react-native-modal-alert-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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') }}]);

Package Sidebar

Install

npm i react-native-modal-alert-wrapper

Weekly Downloads

14

Version

1.0.2

License

ISC

Unpacked Size

10.8 kB

Total Files

9

Last publish

Collaborators

  • dmitriy_chernenko