You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TP_ReactNative/components/ListItemComponent.tsx

18 lines
372 B

import { View } from 'react-native';
import { Image } from 'react-native';
type ItemProps = {
url : string //Image URL
}
export function ListItemComponent(props : ItemProps){
return (
<View>
<Image
source={{uri: props.url}}
style={{flex:1, minHeight:250, minWidth:180}}
/>
</View>
)
}