diff --git a/src/components/ProductStatusCard/arrow-icon.svg b/public/images/ProductStatusCardarrow-icon.svg similarity index 100% rename from src/components/ProductStatusCard/arrow-icon.svg rename to public/images/ProductStatusCardarrow-icon.svg diff --git a/src/components/ProductStatusCard/delivery-icon.svg b/public/images/ProductStatusCarddelivery-icon.svg similarity index 100% rename from src/components/ProductStatusCard/delivery-icon.svg rename to public/images/ProductStatusCarddelivery-icon.svg diff --git a/src/components/ProductStatusCard/icon-shop.svg b/public/images/ProductStatusCardicon-shop.svg similarity index 100% rename from src/components/ProductStatusCard/icon-shop.svg rename to public/images/ProductStatusCardicon-shop.svg diff --git a/src/components/ProductStatusCard/icon1.svg b/public/images/ProductStatusCardicon1.svg similarity index 100% rename from src/components/ProductStatusCard/icon1.svg rename to public/images/ProductStatusCardicon1.svg diff --git a/src/components/ProductStatusCard/info-circle.svg b/public/images/ProductStatusCardinfo-circle.svg similarity index 100% rename from src/components/ProductStatusCard/info-circle.svg rename to public/images/ProductStatusCardinfo-circle.svg diff --git a/src/components/ProductStatusCard/shield-tick.svg b/public/images/ProductStatusCardshield-tick.svg similarity index 100% rename from src/components/ProductStatusCard/shield-tick.svg rename to public/images/ProductStatusCardshield-tick.svg diff --git a/src/components/ProductStatusCard/tick-circle.svg b/public/images/ProductStatusCardtick-circle.svg similarity index 100% rename from src/components/ProductStatusCard/tick-circle.svg rename to public/images/ProductStatusCardtick-circle.svg diff --git a/src/components/ProductStatusCard/index.js b/src/components/CardDesgin/ProductStatusCard/index.js similarity index 85% rename from src/components/ProductStatusCard/index.js rename to src/components/CardDesgin/ProductStatusCard/index.js index deb9f93..5468062 100644 --- a/src/components/ProductStatusCard/index.js +++ b/src/components/CardDesgin/ProductStatusCard/index.js @@ -1,13 +1,6 @@ import React from "react"; -import arrow from "./arrow-icon.svg"; -import delivery from "./delivery-icon.svg"; -import checked from "./icon1.svg"; -import circle from "./info-circle.svg"; -import shield from "./shield-tick.svg"; -import tick from "./tick-circle.svg"; -import shop from "./icon-shop.svg"; -import Button from "../Button"; +import Button from "../../ButtonDesign/Button"; const ProductStatusCard = ({ items, productPrice, discountPrice }) => { console.log(items.alertIcon); @@ -38,7 +31,13 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => { )} - {item.alertIcon && } + {item.alertIcon && ( + + )} {Number(index) !== items.length - 1 && (
@@ -65,7 +64,11 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => {