import React from 'react'; const ImpactMetric = ({ icon, value, label, color = '#4CAF50', unit = '', description = '' }) => { return (
{ e.currentTarget.style.transform = 'translateY(-5px)'; e.currentTarget.style.boxShadow = `0 8px 25px ${color}30`; }} onMouseLeave={(e) => { e.currentTarget.style.transform = 'translateY(0)'; e.currentTarget.style.boxShadow = 'none'; }} >
{icon}
{value}{unit}
{label}
{description && (
{description}
)}
); }; const ImpactMetrics = ({ metrics }) => { return (
{metrics.map((metric, index) => ( ))}
); }; export { ImpactMetric, ImpactMetrics }; export default ImpactMetrics;