parent
67aea8e360
commit
55d22852b8
@ -0,0 +1,17 @@
|
||||
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>
|
||||
)
|
||||
}
|
Loading…
Reference in new issue