import { CheckCircle, XCircle } from 'lucide-react';

interface PartnerStatusBadgeProps {
  active: boolean;
}

export function PartnerStatusBadge({ active }: PartnerStatusBadgeProps) {
  return (
    <span
      className={`inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs font-medium ${
        active
          ? 'bg-green-100 text-green-800'
          : 'bg-red-100 text-red-800'
      }`}
    >
      {active ? (
        <>
          <CheckCircle className="h-3 w-3" />
          Activo
        </>
      ) : (
        <>
          <XCircle className="h-3 w-3" />
          Inactivo
        </>
      )}
    </span>
  );
}
