mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
SmallUserDisplay component
This commit is contained in:
13
packages/frontend/src/components/small-user-display.tsx
Normal file
13
packages/frontend/src/components/small-user-display.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { UserRecord } from "@issue/shared";
|
||||
import { UserRound } from "lucide-react";
|
||||
|
||||
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>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user