share modal

This commit is contained in:
2025-10-20 13:58:16 +02:00
parent 8e281e8f78
commit 2cb3af13e2
3 changed files with 169 additions and 86 deletions
+8 -2
View File
@@ -23,10 +23,11 @@ const ShareQrModal = ({
return (
<Portal>
<View style={StyleSheet.absoluteFill} pointerEvents="box-none">
<View style={styles.overlay}>
<Pressable
onPress={onClose}
style={[StyleSheet.absoluteFill, styles.backdrop]}
accessibilityRole="button"
style={styles.backdrop}
/>
<View style={styles.centerWrapper} pointerEvents="box-none">
@@ -71,7 +72,12 @@ const ShareQrModal = ({
};
const styles = StyleSheet.create({
overlay: {
...StyleSheet.absoluteFillObject,
zIndex: 200,
},
backdrop: {
...StyleSheet.absoluteFillObject,
backgroundColor: "rgba(0, 0, 0, 0.65)",
},
centerWrapper: {