diff --git a/src/components/ProductSalesAmount/Design2/index.js b/src/components/ProductSalesAmount/Design2/index.js index 38f32ce..92458d1 100644 --- a/src/components/ProductSalesAmount/Design2/index.js +++ b/src/components/ProductSalesAmount/Design2/index.js @@ -13,11 +13,7 @@ const Design2 = ({ incomes }) => { {incomes.map((income, index) => (
- + {income.progressBar}

{income.percentNumb}

))} @@ -34,24 +30,52 @@ Design2.defaultProps = { bgColor: "#26E58C", width: "96%", percentNumb: "110", + progressBar: ( + + ), }, { image: ellipse, bgColor: "#FFEE00", width: "44%", percentNumb: "72", + progressBar: ( + + ), }, { image: ellipse, bgColor: "#EC4C19", - width: "20%", + width: "2%", percentNumb: "20", + progressBar: ( + + ), }, { image: ellipse, bgColor: "#0077FF", - width: "75%", + width: "33%", percentNumb: "80", + progressBar: ( + + ), }, ], };