robcalcroft / react-native-in-app-notification

:bell: Customisable in-app notification component for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rbayuokt opened this issue · comments

I have problem when I'm implemented this with hooks

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!

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