overlay confirm en cours
This commit is contained in:
@@ -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%",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user