Closed Standin-Alone closed 2 years ago
your callback function is for confirm button only. i can't get the cancel button callback
Will this function be sufficient? I will bring a new update.
Uploading Screen Recording 2
<TouchableOpacity onPress={() =>
Popup.show({
type: 'confirm',
title: 'Dikkat!',
textBody: 'Mutlak özgürlük, kendi başına hiçbir anlam ifade etmez. ',
buttonText: 'Tamam',
confirmText: 'Vazgeç',
callback: () => {
alert('Okey Callback && hidden');
Popup.hide();
},
cancelCallback: () => {
alert('Cancel Callback && hidden');
Popup.hide();
},
})
}
>
<Text>Open Popup Confirm Message</Text>
</TouchableOpacity>
https://www.npmjs.com/package/react-native-popup-confirm-toast
Your request was brought with version 2.0.6.
Any chance to elaborate?