I have three file ( The full project is https://github.com/EnginYilmaz/kpbduser)
- MapScreen.js
- FetchData.js
- ShowData.js
I want to print a Map on FetchData and on marker click want to pass which markerkey pressed to MapScreen.js and then Query the people on index key and show data with ShowData.js but I don't know how to pass data back from
FetchData.js to Parent (MapScreen.js). I illustrated my question on