From 6fd33a9a62fc1402eaa5c28a0cfb1a92d7ccd1a7 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 16 Jan 2022 14:46:47 +0330 Subject: [PATCH] update --- src/components/ProductStatusCard/index.js | 47 +++++++++++++---------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/src/components/ProductStatusCard/index.js b/src/components/ProductStatusCard/index.js index 7134c3c..a485878 100644 --- a/src/components/ProductStatusCard/index.js +++ b/src/components/ProductStatusCard/index.js @@ -15,32 +15,37 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => {
{items.map((item, index) => ( -
-
- -
-

- {item.subtitle} - {item.title} -

- {item.customerSatisfaction && ( -

- رضایت خریداران: - - {item.customerSatisfactionPercent} - +

+
+
+ +
+

+ {item.subtitle} + {item.title}

- )} + {item.customerSatisfaction && ( +

+ رضایت خریداران: + + {item.customerSatisfactionPercent} + +

+ )} +
+ {item.alertIcon && ( + + )}
- {item.alertIcon && } +
))}
-

+

{productPrice} تومان

@@ -51,7 +56,7 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => {

-