import type { EnrichedGrid } from '../types' import { DriverCell } from './DriverCell' import { formatLapTime } from '../utils' interface Props { grid: EnrichedGrid[] } export function StartingGridTable({ grid }: Props) { if (grid.length === 0) { return (
box-box --ingest-session <key> to load this dataset.
| P | Driver | Team | Lap Time |
|---|---|---|---|
| {g.position} |
|
{g.team_name} | {g.lap_duration != null ? formatLapTime(g.lap_duration) : '—'} |