'use client'; import Image from 'next/image'; import type { DriverDTO } from '@core/racing/application/dto/DriverDTO'; import Button from '../ui/Button'; import DriverRatingPill from '@/components/profile/DriverRatingPill'; import CountryFlag from '@/components/ui/CountryFlag'; interface ProfileHeaderProps { driver: DriverDTO; rating?: number | null; rank?: number | null; isOwnProfile?: boolean; onEditClick?: () => void; teamName?: string | null; teamTag?: string | null; } export default function ProfileHeader({ driver, rating, rank, isOwnProfile = false, onEditClick, teamName, teamTag, }: ProfileHeaderProps) { return (