'use client'; import React from 'react'; import { Text } from '@/ui/Text'; import { Table, TableHead, TableBody, TableRow, TableHeader, TableCell } from '@/ui/Table'; import { Badge } from '@/ui/Badge'; interface Entrant { id: string; name: string; teamName?: string; carName: string; rating: number; status: 'confirmed' | 'withdrawn' | 'pending'; } interface EntrantsTableProps { entrants: Entrant[]; } export function EntrantsTable({ entrants }: EntrantsTableProps) { return (