import { Button } from '@/ui/Button'; import { Stack } from '@/ui/primitives/Stack'; import { Text } from '@/ui/Text'; interface JoinRequestItemProps { driverId: string; requestedAt: string | Date; onApprove: () => void; onReject: () => void; isApproving?: boolean; isRejecting?: boolean; } export function JoinRequestItem({ driverId, requestedAt, onApprove, onReject, isApproving, isRejecting, }: JoinRequestItemProps) { return ( {driverId.charAt(0)} {driverId} Requested {new Date(requestedAt).toLocaleDateString()} ); }