Is it possible to close react native modal by clicking on overlay when transparent option is true? Documentation doesn\'t provide anything about it         
        
Here is my simple implementation:
 // Code to close your modal goes here
     // The view to drawn the background
             true}
                style={styles.container}
            > // The view to drawn your modal
            // Your content
             
        
     
 
I use TouchableWithoutFeedback since i do not want to change the background color when clicking on it. I also added onStartShouldSetResponder on the modal view to prevent closing the modal when you click inside the view.
I am also not using the Modal component because i done it using react-navigation.