import { Image, Modal, Pressable, ScrollView, StyleSheet, View } from 'react-native' import { X } from 'lucide-react-native' import { useWindowSafeAreaInsets } from '../layout/side-safe-area' import { colors, spacing } from '../theme/mobile-theme' /** An attached image at full size, over everything, until closed. Desktop opens the same * picture in its full-size preview dialog. iOS also zooms it with a pinch. */ export function MobileNativeChatImageViewer({ uri, label, onClose }: { uri: string label: string onClose: () => void }): React.JSX.Element { const insets = useWindowSafeAreaInsets() return ( ) } const styles = StyleSheet.create({ backdrop: { flex: 1, backgroundColor: colors.bgBase }, stage: { flexGrow: 1 }, image: { flex: 1, width: '100%' }, close: { position: 'absolute', right: spacing.lg, padding: spacing.sm, borderRadius: 999, backgroundColor: colors.bgRaised } })