import { Calendar, ChevronRight, Clock } from 'lucide-react'; import { Badge } from './Badge'; import { Box } from './Box'; import { Button } from './Button'; import { Heading } from './Heading'; import { Icon } from './Icon'; import { Link } from './Link'; import { Stack } from './Stack'; import { Surface } from './Surface'; import { Text } from './Text'; interface NextRaceCardProps { track: string; car: string; formattedDate: string; formattedTime: string; timeUntil: string; isMyLeague: boolean; href: string; } export function NextRaceCard({ track, car, formattedDate, formattedTime, timeUntil, isMyLeague, href, }: NextRaceCardProps) { return ( Next Race {isMyLeague && ( Your League )} {track} {car} {formattedDate} {formattedTime} Starts in {timeUntil} ); }