import { Image, Pressable, ScrollView, View } from "react-native"; import { Text } from "@/components/ui/Text"; import { colors, radii } from "@/lib/theme"; export function RxImagePager({ uris, size = 96, onLongPress, }: { uris: string[]; size?: number; onLongPress?: (uri: string, index: number) => void; }) { if (!uris.length) { return ( No pages attached ); } return ( {uris.map((uri, index) => ( onLongPress?.(uri, index)}> {index + 1}/{uris.length} ))} ); }