mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
Avatar component
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user