Skip to content

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
Discussion options

You must be logged in to vote

Hi @bennetthermanoff! I'm glad you are finding the library useful. Can you try this?

modalProps={{ onShow: () => console.log('API call should happen now') }}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by azeezat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants