import React from 'react'; import { LucideIcon } from 'lucide-react'; interface InfoCardProps { title: string; description?: string; result?: string; icon?: LucideIcon; items?: string[]; bgColor?: string; titleColor?: string; textColor?: string; resultColor?: string; iconColor?: string; } export function InfoCard({ title, description, result, icon: Icon, items, bgColor = 'bg-white', titleColor = 'text-gray-900', textColor = 'text-gray-600', resultColor = 'text-purple-600', iconColor = 'text-purple-600', }: InfoCardProps) { return (
{/* Icon */} {Icon && (
)} {/* Title */}

{title}

{/* Description */} {description && (

{description}

)} {/* Result */} {result && (

Resultado: {result}

)} {/* Items List */} {items && items.length > 0 && ( )}
); }