- Wiring up nom and phone registration bits
- Added guided registration
This commit is contained in:
@@ -9,12 +9,12 @@ export default function PhoneListItem({ index, label, number, handleDelete, hand
|
||||
return (
|
||||
<View style={styles.listItem}>
|
||||
<View style={styles.listValue}>
|
||||
<Text style={styles.value}>{phone.get('number')}</Text>
|
||||
<Text style={styles.label}>{phone.get('label')}</Text>
|
||||
<Text style={styles.value}>{number}</Text>
|
||||
<Text style={styles.label}>{label}</Text>
|
||||
</View>
|
||||
<View style={styles.listActions}>
|
||||
{handleEdit !== null && <Button title={`Edit`} onPress={() => this.handleEditStart(index)} />}
|
||||
<Button title={`X`} onPress={() => this.props.handleDelete(index)} />
|
||||
{handleEdit !== null && <Button title={`Edit`} onPress={() => handleEditStart(index)} />}
|
||||
<Button title={`X`} onPress={() => handleDelete(index)} />
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user