From 85ec589664e11faef58f0e03318788659e249c3a Mon Sep 17 00:00:00 2001 From: mahdi Date: Wed, 22 Dec 2021 14:58:16 +0330 Subject: [PATCH] update --- src/components/productTags/ProductTags.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/productTags/ProductTags.js b/src/components/productTags/ProductTags.js index 9faf195..a39c110 100644 --- a/src/components/productTags/ProductTags.js +++ b/src/components/productTags/ProductTags.js @@ -8,7 +8,6 @@ import blackSettingIcon from "../../assets/icons/black-settings-icon.svg"; import lightGreenGiftIcon from "../../assets/icons/light-green-gift-icon.svg"; import lightPurpleDoubleRightIcon from "../../assets/icons/light-purple-double-right-icon.svg"; import darkBlueNewspaperIcon from "../../assets/icons/dark-blue-newspaper-icon.svg"; - import darkBlueCancleIcon from "../../assets/icons/dark-blue-cancle-icon.svg"; import lightBlueCancleIcon from "../../assets/icons/light-blue-cancle-icon.svg"; import lightBlueDeliveryIcon from "../../assets/icons/light-blue-delivery-icon.svg"; @@ -16,6 +15,7 @@ import lightGreenCancleIcon from "../../assets/icons/light-green-cancle-icon.svg import lightOrangeCancleIcon from "../../assets/icons/light-orange-cancle-icon.svg"; import lightPurpleCancleIcon from "../../assets/icons/light-purple-cancle-icon.svg"; import lightYelloCancleIcon from "../../assets/icons/light-yellow-cancle-icon.svg"; +import lightOrangeRightIcon from "../../assets/icons/light-orange-right-icon.svg"; const ProductTags = ({ tagtitlecolor, @@ -34,7 +34,8 @@ const ProductTags = ({ lightGreenIconCancle, lightOrangeIconCancle, lightPurpleIconCancle, - lightYelloIconCancle, + lightYellowIconCancle, + lightOrangeIconRight, }) => { return (
@@ -58,6 +59,9 @@ const ProductTags = ({ {rightIcon && ( )} + {lightOrangeIconRight && ( + + )} {darkSettingsIcon && ( )} @@ -93,7 +97,7 @@ const ProductTags = ({ {lightPurpleIconCancle && ( )} - {lightYelloIconCancle && ( + {lightYellowIconCancle && ( )} @@ -137,7 +141,9 @@ ProductTags.defaultProps = { tagBorderColor: "border-lightOrangeBorderColor", // for icons deliveryIcon: false, + lightBlueIconDelivery: false, rightIcon: false, + lightOrangeIconRight: true, darkSettingsIcon: false, greenGiftIcon: false, purpleCheckboxIcon: false, @@ -145,9 +151,8 @@ ProductTags.defaultProps = { cancleIcon: false, darkBlueIconCancle: false, lightBlueIconCancle: false, - lightBlueIconDelivery: false, lightGreenIconCancle: false, lightOrangeIconCancle: true, lightPurpleIconCancle: false, - lightYelloIconCancle: false, + lightYellowIconCancle: false, };