overlay confirm en cours
This commit is contained in:
@@ -63,11 +63,13 @@ export default function SetStatus() {
|
|||||||
|
|
||||||
const confirmation = () => {
|
const confirmation = () => {
|
||||||
return(
|
return(
|
||||||
<Modal style={styles.overlay}>
|
<Modal transparent={true} >
|
||||||
|
<View style={styles.overlay}>
|
||||||
<ThemedView>
|
<ThemedView>
|
||||||
<ThemedButton onPress={() => onConfirm()}><ThemedText>Confirmer</ThemedText></ThemedButton>
|
<ThemedButton onPress={() => onConfirm()}><ThemedText>Confirmer</ThemedText></ThemedButton>
|
||||||
<ThemedButton onPress={() => onCancel()}><ThemedText>Annuler</ThemedText></ThemedButton>
|
<ThemedButton onPress={() => onCancel()}><ThemedText>Annuler</ThemedText></ThemedButton>
|
||||||
</ThemedView>
|
</ThemedView>
|
||||||
|
</View>
|
||||||
</Modal>
|
</Modal>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -155,7 +157,9 @@ const styles = StyleSheet.create({
|
|||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
},
|
||||||
overlay:{
|
overlay:{
|
||||||
backgroundColor:'transparent',
|
backgroundColor:'#00000080',
|
||||||
padding:20,
|
padding:80,
|
||||||
|
width:"100%",
|
||||||
|
height:"100%",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user