import React from 'react'; import { Box } from '@/ui/Box'; import { SafeImage } from '@/components/shared/SafeImage'; import { Trophy } from 'lucide-react'; import { Icon } from '@/ui/Icon'; export interface LeagueLogoProps { leagueId?: string; src?: string; alt: string; size?: number; className?: string; border?: boolean; rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'; } export function LeagueLogo({ leagueId, src, alt, size = 64, className = '', border = true, rounded = 'md', }: LeagueLogoProps) { const logoSrc = src || (leagueId ? `/api/media/leagues/${leagueId}/logo` : undefined); return ( {logoSrc ? ( 32 ? 5 : 4} color="text-gray-500" />} /> ) : ( 32 ? 5 : 4} color="text-gray-500" /> )} ); }