import React from "react"; import Grid from "@mui/material/Grid"; import Box from "@mui/material/Box"; import Card from "@mui/material/Card"; import Typography from "@mui/material/Typography"; import TrendingUpIcon from "@mui/icons-material/TrendingUp"; import TrendingDownIcon from "@mui/icons-material/TrendingDown"; const FeaturesData = [ { id: "1", amount: "$25,890", title: "Total Invested", image: "/images/icon5.png", icon: , growth: "+1.3%", growthText: "Up from past week", color: "successColor", }, { id: "2", amount: "$10,324", title: "Total Changed", image: "/images/icon6.png", icon: , growth: "-2.5%", growthText: "Up from past week", color: "dangerColor", }, { id: "3", amount: "$100", title: "Day Changed", image: "/images/icon7.png", icon: , growth: "+0.4%", growthText: "Up from past week", color: "successColor", }, ]; const Features = () => { return ( <> {FeaturesData.map((feature) => ( {feature.title} Graph {feature.amount} {feature.growthText} {feature.icon}{" "} {feature.growth} ))} ); }; export default Features;