Anyway to detect/add a callback function to when a user opens a selection modal? #58
Answered
by
azeezat
bennetthermanoff
asked this question in
Q&A
-
I'm trying to action a fetch to only occur on modal opening. Is there anyway to dispatch this on open? BTW: love this package! |
Beta Was this translation helpful? Give feedback.
Answered by
azeezat
Jan 24, 2024
Replies: 1 comment
-
Hi @bennetthermanoff! I'm glad you are finding the library useful. Can you try this?
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
azeezat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @bennetthermanoff! I'm glad you are finding the library useful. Can you try this?
modalProps={{ onShow: () => console.log('API call should happen now') }}