import React from 'react'; import { Box } from './Box'; import { Text } from './Text'; import { Stack } from './Stack'; import { RaceStatusBadge } from './RaceStatusBadge'; import { Icon } from './Icon'; import { Calendar, MapPin, Car } from 'lucide-react'; interface RaceHeaderPanelProps { track: string; car: string; scheduledAt: string; status: string; leagueName?: string; actions?: React.ReactNode; } export function RaceHeaderPanel({ track, car, scheduledAt, status, leagueName, actions }: RaceHeaderPanelProps) { return ( {/* Background Accent */} {/* Info */} {track} {car} {scheduledAt} {leagueName && ( {leagueName} )} {/* Actions */} {actions && ( {actions} )} ); }