From 50603a0fa6f344a3e53e0bd9076f4deb3ba0f739 Mon Sep 17 00:00:00 2001 From: trochas Date: Thu, 11 Dec 2025 12:15:23 +0100 Subject: [PATCH] overlay confirm --- components/setStatus.tsx | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/components/setStatus.tsx b/components/setStatus.tsx index 5ac18d4..ed8385e 100644 --- a/components/setStatus.tsx +++ b/components/setStatus.tsx @@ -65,10 +65,19 @@ export default function SetStatus() { return( - - onConfirm()}>Confirmer - onCancel()}>Annuler - + + Changer l'était du chantier en {tempStatus} ? + + onConfirm()}> + Confirmer + + + + onCancel()}> + Annuler + + + ) @@ -158,8 +167,26 @@ const styles = StyleSheet.create({ }, overlay:{ backgroundColor:'#00000080', - padding:80, + padding:"5%", + paddingVertical:"20%", width:"100%", height:"100%", }, + OverlayView:{ + borderRadius: 20, + padding: 20, + alignItems: "center", + width: "100%", + //backgroundColor:'#ff0000', + }, + buttonValid:{ + borderWidth: 2, + width:'100%', + margin: 0, + borderRadius: 15, + padding: 10, + height:60, + alignItems: "center", + }, + });