mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
avatar: new upload + remove avatar, and placeholder with colour and initials
This commit is contained in:
@@ -4,7 +4,13 @@ import Avatar from "@/components/avatar";
|
||||
export default function SmallUserDisplay({ user }: { user: UserRecord }) {
|
||||
return (
|
||||
<div className="flex gap-2 items-center">
|
||||
<Avatar user={user} size={6} />
|
||||
<Avatar
|
||||
name={user.name}
|
||||
username={user.username}
|
||||
avatarURL={user.avatarURL}
|
||||
size={6}
|
||||
textClass="text-xs"
|
||||
/>
|
||||
{user.name}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user