import { PlayerProfile } from "../types/PlayerProfile"; import UserIcon from "./UserIcon"; type Props = { profile: PlayerProfile; }; export default function PlayerNameAndIcon({ profile }: Props) { return (
{profile.displayName}
{profile.iconPath && ( )}
); }