jasongaare / react-native-walkthrough-tooltip

An inline wrapper for calling out React Native components via tooltip
MIT License
620 stars 184 forks source link

Add modalComponent prop #120

Closed ersefuril closed 3 years ago

ersefuril commented 3 years ago

In some cases, the default Modal component from react-native should be replaced by another one (typically, when using a library such as react-native-web). The new prop modalComponent will allow you to achieve that, with minimal code changes. Feel free to ask if I need to edit something.

Gabrielfcs commented 3 years ago

Excellent change, because in addition to allowing the use of other modal libs, it also allows the use of the statusBarTranslucent prop of the React Native modal component that even using the topAjustment prop of this lib, it is still not possible to cover the entire screen with the backdrop