onShow
The onShow
prop allows passing a function that will be called once the modal has been shown.
<Modal
animationType="slide"
transparent={true}
visible={modalVisible}
onShow ={() =>{this.yourFunctionName()}>
</Modal>
Advertisements
An Artist With Technical Skills
onShow
The onShow
prop allows passing a function that will be called once the modal has been shown.
<Modal
animationType="slide"
transparent={true}
visible={modalVisible}
onShow ={() =>{this.yourFunctionName()}>
</Modal>