Skip to content

Commit

Permalink
fix register
Browse files Browse the repository at this point in the history
  • Loading branch information
lub2code committed Sep 23, 2019
1 parent 26517f4 commit 86be9d6
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 137 deletions.
66 changes: 33 additions & 33 deletions src/Component/Page/Address.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,39 @@ import ProgressScreen from '../Refer/ProgressScreen';
function Item({ item }) {
return (
<Card>
<View style={styles.item_container}>
<Text style={styles.label}>Address ID: </Text>
<Text style={styles.value}>{item.addressID}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Street: </Text>
<Text style={styles.value}>{item.street}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Nr.: </Text>
<Text style={styles.value}>{item.houseNr}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>City: </Text>
<Text style={styles.value}>{item.city}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Postal code: </Text>
<Text style={styles.value}>{item.zip}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Phone: </Text>
<Text style={styles.value}>{item.phone}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Latitude: </Text>
<Text style={styles.value}>{item.latitude}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Longitude: </Text>
<Text style={styles.value}>{item.longitude}</Text>
</View>
<TouchableOpacity style={[styles.deleteButtonContainer, styles.deleteButton]}>
<View style={styles.item_container}>
<Text style={styles.label}>Address ID: </Text>
<Text style={styles.value}>{item.addressID}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Street: </Text>
<Text style={styles.value}>{item.street}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Nr.: </Text>
<Text style={styles.value}>{item.houseNr}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>City: </Text>
<Text style={styles.value}>{item.city}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Postal code: </Text>
<Text style={styles.value}>{item.zip}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Phone: </Text>
<Text style={styles.value}>{item.phone}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Latitude: </Text>
<Text style={styles.value}>{item.latitude}</Text>
</View>
<View style={styles.item_container}>
<Text style={styles.label}>Longitude: </Text>
<Text style={styles.value}>{item.longitude}</Text>
</View>
<TouchableOpacity style={[styles.deleteButtonContainer, styles.deleteButton]}>
<Text style={styles.lable_button}>Delete</Text>
</TouchableOpacity>
</Card>
Expand Down
Loading

0 comments on commit 86be9d6

Please sign in to comment.