import { ChevronRight } from 'lucide-react'; import { ReactNode } from 'react'; import { Box } from './Box'; import { Surface } from './Surface'; import { Icon } from './Icon'; export interface RaceRowProps { children: ReactNode; onClick: (e: React.MouseEvent) => void; status?: 'live' | 'upcoming' | 'past'; emphasis?: 'low' | 'medium' | 'high'; as?: any; href?: string; } /** * RaceRow is a semantic UI component for displaying a race in a list. * It encapsulates the visual style of a race entry per the GridPilot theme. */ export const RaceRow = ({ children, onClick, status = 'upcoming', emphasis = 'medium', as, href }: RaceRowProps) => { const isLive = status === 'live'; return ( {isLive && ( )} {children} ); };