From 385606ee05a8ceb9073169639eb1a311f81cac10 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 11 May 2023 19:28:47 -0600 Subject: Añade información a la vista de usuario MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/addresses_table.tsx | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/components/addresses_table.tsx (limited to 'src/components/addresses_table.tsx') diff --git a/src/components/addresses_table.tsx b/src/components/addresses_table.tsx new file mode 100644 index 0000000..ae46f21 --- /dev/null +++ b/src/components/addresses_table.tsx @@ -0,0 +1,42 @@ +import Address from "./address"; + +export default function AddressesTable({ addresses }) { + const digested_addresses = addresses.map(address => +
+ ); + + return( +
+

+ Direcciones de envío +

+ + + + + + + + + + + + + {digested_addresses} + +
+ Calle + + Número + + Código postal + + Ciudad + + País + + Editar +
+
+ ); +} \ No newline at end of file -- cgit v1.2.3