import { Badge } from '@/ui/Badge'; import { Box } from '@/ui/Box'; import { Stack } from '@/ui/Stack'; import { Surface } from '@/ui/Surface'; import { Text } from '@/ui/Text'; interface PenaltyRowProps { driverName: string; type: string; reason: string; notes?: string; value: string | number; valueLabel?: string; } export function PenaltyRow({ driverName, type, reason, notes, value, valueLabel, }: PenaltyRowProps) { return ( ! {driverName} {type.replace('_', ' ')} {reason} {notes && ( {notes} )} {value} {valueLabel} ); }