import { Box } from '@/ui/Box'; import { LiveRaceItem } from '@/components/races/LiveRaceItem'; import { Text } from '@/ui/Text'; interface LiveRaceBannerProps { liveRaces: Array<{ id: string; track: string; leagueName: string; }>; onRaceClick?: (raceId: string) => void; } export function LiveRaceBanner({ liveRaces, onRaceClick }: LiveRaceBannerProps) { if (liveRaces.length === 0) return null; return ( LIVE NOW {liveRaces.map((race) => ( onRaceClick?.(race.id)} /> ))} ); }