How to use onPress method when using custom component? #113
Unanswered
sierraleonez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to pass function from my parent component to my custom toast component wrapped with ToastProvider, and I saw

onPress
method there(id: string) => void
, but I'm pretty confused about what is the id for and how to use it, can please add it to documentation?Beta Was this translation helpful? Give feedback.
All reactions