标签: react-native
当我关闭模态时,我需要在父容器中调用一个函数。我该怎么做?
我正在使用文档https://facebook.github.io/react-native/docs/modal.html
答案 0 :(得分:1)
在props中传递一个回调函数,并在模型的onRequestClose事件中调用它。