import React from 'react' import { StyleProp, StyleSheet, TouchableWithoutFeedback, View, ViewStyle, } from 'react-native' import {Image} from 'expo-image' export function ImageHorzList({ uris, onPress, style, }: { uris: string[] onPress?: (index: number) => void style?: StyleProp }) { return ( {uris.map((uri, i) => ( onPress?.(i)}> ))} ) } const styles = StyleSheet.create({ flexRow: {flexDirection: 'row'}, image: { width: 100, height: 100, borderRadius: 4, marginRight: 5, }, })