import React from 'react'; import { Modal, View, Image, StyleSheet, TouchableOpacity, Dimensions, StatusBar, } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { AppColors } from '@/constants/theme'; interface ImageLightboxProps { visible: boolean; imageUri: string | null; onClose: () => void; } const { width: screenWidth, height: screenHeight } = Dimensions.get('window'); export function ImageLightbox({ visible, imageUri, onClose }: ImageLightboxProps) { if (!imageUri) return null; return ( {/* Close button */} {/* Image */} ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: 'rgba(0, 0, 0, 0.95)', justifyContent: 'center', alignItems: 'center', }, closeButton: { position: 'absolute', top: 50, right: 20, width: 44, height: 44, borderRadius: 22, backgroundColor: 'rgba(255, 255, 255, 0.2)', justifyContent: 'center', alignItems: 'center', zIndex: 10, }, imageContainer: { width: screenWidth, height: screenHeight, justifyContent: 'center', alignItems: 'center', }, image: { width: screenWidth - 40, height: screenWidth - 40, borderRadius: 20, }, });