zahidalidev / toastify-react-native

🎉 toastify-react-native allows you to add notifications to your react-native app (ios, android) with ease. No more nonsense!
MIT License
74 stars 18 forks source link

Does not work as a global component #31

Open gabriel-logan opened 6 months ago

gabriel-logan commented 6 months ago

I have to import it in all components for it to appear, I even have to import it within MODALS for it to appear, does it really work like this or is there another way?

zahidalidev commented 4 months ago

@gabriel-logan Its working fine if we configure it at the top level, here is an example: https://snack.expo.dev/@abrar18/hello-react-navigation-%7C-react-navigation

zahidalidev commented 4 months ago

If you are using like mentioned in this issue : #33 here you are not using it on the top level as I told this thing in your second issue.