How to use in side a functional component
Closed this issue · 1 comments
matale commented
Hey, how would I would use this inside a functional component instead of class component, I am new to this but I guess I cant access this in a functional component and don't understand how to access the Notification component to trigger the show method.
matale commented
Sort of figured it out I used the useRef hook.