import { Card, CardContent, Typography } from '@mui/material';
import { AttachMoney, Group } from '@mui/icons-material'; // Importing specific Material UI icons
import PersonIcon from '@mui/icons-material/Person';
import './StatsCard.css'
const statistics = [
{
label: 'Number of Supporters',
value: '100+',
icon: // Using the actual Support icon
},
{
label: 'Fund Raised',
value: '29 Lakhs',
icon: // Using the AttachMoney icon
},
{
label: 'People Benefited',
value: '158',
icon: // Using the Group icon
}
];
const StatsCard = () => {
return (
{statistics.map((stat, index) => (
{stat.icon} {/* Rendering the icon here */}
{stat.value}
{stat.label}
))}
);
};
export default StatsCard;