diff --git a/src/domains/match/components/UserCard.tsx b/src/domains/match/components/UserCard.tsx new file mode 100644 index 0000000..9766e49 --- /dev/null +++ b/src/domains/match/components/UserCard.tsx @@ -0,0 +1,31 @@ +import { Info } from "lucide-react"; + +import { Avatar, AvatarFallback, AvatarImage } from "../../../components/ui/avatar"; + +export interface UserCardProps { + index: number; + nickname: string; + imgSrc?: string; + status: "PENDING" | "ACCEPTED"; +} + +export const UserCard = ({ index, nickname, imgSrc, status }: UserCardProps) => { + return ( +
+
+

{index}

+ + + {nickname[0]} + +

{nickname}

+
+
+
+ {status === "PENDING" ? "수락대기" : "수락완료"} +
+ +
+
+ ); +};