robcalcroft / react-native-in-app-notification

:bell: Customisable in-app notification component for React Native
MIT License
270 stars 78 forks source link

How to use react-native-in-app-notification in hooks ? #42

Open rbayuokt opened 4 years ago

rbayuokt commented 4 years ago

I have problem when I'm implemented this with hooks

robcalcroft commented 4 years ago

Hi! I haven't touched the core design of this in a while so I can't guarantee it'll work with hooks. In theory it should but apologies if it doesn't. My plan is to re-engineer the internals of this library soon but I can't give any timelines sorry!

dlombardi commented 3 years ago

All you have to do is expose Context from index and we can create our own hook.