import Card from '@/components/ui/Card'; import Button from '@/components/ui/Button'; import { Car, Download, Trash2, Edit } from 'lucide-react'; interface DriverLiveryItem { id: string; carId: string; carName: string; thumbnailUrl: string; uploadedAt: Date; isValidated: boolean; } interface LiveryCardProps { livery: DriverLiveryItem; onEdit?: (id: string) => void; onDownload?: (id: string) => void; onDelete?: (id: string) => void; } export default function LiveryCard({ livery, onEdit, onDownload, onDelete }: LiveryCardProps) { return ( {/* Livery Preview */}
{/* Livery Info */}

{livery.carName}

{livery.isValidated ? ( Validated ) : ( Pending )}

Uploaded {new Date(livery.uploadedAt).toLocaleDateString()}

{/* Actions */}
); }