overlay confirm en cours

This commit is contained in:
trochas
2025-12-11 11:32:57 +01:00
parent 1b0556ab39
commit e24ee56c27

View File

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