When I clicked outside the modal, the pop-up was closing. Is there any way, when I click on the close button, only that should close the popup. Instead of closing when someone clicks outside. It should close on the close button only.
<TouchableWithoutFeedback onPress={() => { setVisible(false); }}>