Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react'
- import { View, Text, Image } from 'react-native'
- function Item ({ title, img_url, img, impresi }) {
- return (
- <View style= {{ flexDirection: 'row', borderBottomWidth: 1, justifyContent: 'center', backgroundColor: '#FFFFFF' }}>
- <View style={{ flex: 1 }}>
- <Image source={{ uri: img_url }}/>
- </View>
- <View style={{ flex: 3, justifyContent: 'center' }} >
- <View style={{ justifyContent: 'center' }}>
- <Text> { title } </Text>
- <Text style={{ marginTop: 5, color: '#777777' }}> { impresi } </Text>
- <View style={{ flexDirection: 'row'}}>
- <Image source={{ uri: img }} />
- </View>
- </View>
- </View>
- </View>
- )
- }
- export default Item
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement