import { Avatar, AvatarImage } from "@/components/ui/avatar"; import CountryFlag from "@/components/country-flag"; import Link from "next/link"; import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-saber-player-token"; import ScoreSaberLeaderboardPlayerInfoToken from "@ssr/common/types/token/scoresaber/score-saber-leaderboard-player-info-token"; type TablePlayerProps = { /** * The player to display. */ player: ScoreSaberPlayerToken | ScoreSaberLeaderboardPlayerInfoToken; /** * The claimed player. */ claimedPlayer?: ScoreSaberPlayerToken; }; export function TablePlayer({ player, claimedPlayer }: TablePlayerProps) { return ( <>

{player.name}

); }