react-native-popup-confirm-toast
Advanced tools
Comparing version
{ | ||
"name": "react-native-popup-confirm-toast", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -112,5 +112,5 @@ # react-native-popup-confirm-toast | ||
type: 'success', | ||
title: 'Dikkat!', | ||
title: 'Success!', | ||
textBody: 'Mutlak özgürlük, kendi başına hiçbir anlam ifade etmez. ', | ||
buttonText: 'Tamam', | ||
buttonText: 'OK', | ||
callback: () => Popup.hide() | ||
@@ -170,3 +170,3 @@ }) | ||
<TouchableOpacity | ||
onPress={() => | ||
onPress={() => { | ||
const popup = Popup; | ||
@@ -177,9 +177,7 @@ popup.show({ | ||
bodyComponent: (bodyProps) => bodyComponent({...props,bodyProps,popup}), | ||
confirmText: 'Vazgeç', | ||
confirmText: 'Cancel', | ||
iconEnabled: false, | ||
descTextStyle: GlobalAlertModalStyle.descTextStyle, | ||
confirmButtonTextStyle: GlobalAlertModalStyle.confirmButtonTextStyle, | ||
buttonEnabled: false, | ||
}); | ||
} | ||
}} | ||
> | ||
@@ -281,3 +279,3 @@ <Text>Open Popup Confirm Message</Text> | ||
| `onLayout` | function | which triggers this feature for us to automatically calculate the height of the component area you specify. | | ||
| `type` | enum | enum(success, danger, warning, confirm) | warning | | ||
| `type` | enum | enum(success, info, danger, warning, confirm) | warning | | ||
| `buttonText` | string | | Ok | | ||
@@ -284,0 +282,0 @@ | `confirmText` | string | | Cancel | |
@@ -303,2 +303,3 @@ import React, {Component} from 'react'; | ||
borderWidth: 0, | ||
zIndex: 99999, | ||
}, | ||
@@ -305,0 +306,0 @@ timing: { |
9245478
1.31%31
34.78%1125
0.09%353
-0.56%