Closed kokosky93 closed 8 months ago
hey @kokosky93! thanks for your patience with this reply. what you're asking for is possible via a mix of modal.addListener
& modal.params
.
i've modified the demo snack to make a functional example of what you're trying to achieve: https://snack.expo.dev/safxFTYCR7x1FVsncrkmt. you can focus on ./components/IntroButton.tsx#L16
& ./components/IntroModal.tsx#L73
and follow the threads from there.
hope this helps!
Hi,
I am struggling how to do the following things
I need to notify my react native component which opened a modal when the modal is closed. How can I do this?
Is it possible to pass parameters from a modal component to a component which opened the modal?
Anyone would know how can I do this?