Avatar component

This commit is contained in:
Oliver Bryan
2025-12-23 17:07:23 +00:00
parent 193b1dc93b
commit d46b82ffa6
2 changed files with 12 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
import type { UserRecord } from "@issue/shared";
import { UserRound } from "lucide-react";
import Avatar from "@/components/avatar";
export default function SmallUserDisplay({ user }: { user: UserRecord }) {
return (
<div className="flex gap-2 items-center">
{user.name}{" "}
<div className="flex items-center justify-center rounded-full border w-7 h-7">
<UserRound size={15} />
</div>
{user.name} <Avatar user={user} />
</div>
);
}