"use client"; import type { ReactNode } from "react"; import { Users } from "lucide-react"; import { HoverCard, HoverCardTrigger, HoverCardContent } from "@multica/ui/components/ui/hover-card"; import { ActorAvatar } from "./actor-avatar"; interface MentionHoverCardProps { type: string; id: string; name: string; initials: string; avatarUrl?: string | null; role?: string; children: ReactNode; } function MentionHoverCard({ type, id: _id, name, initials, avatarUrl, role, children, }: MentionHoverCardProps) { if (type === "all") { return ( } className="cursor-default"> {children} All members Notifies all workspace members ); } return ( } className="cursor-default"> {children} {name} {role && ( {role} )} ); } export { MentionHoverCard, type MentionHoverCardProps };
All members
Notifies all workspace members
{name}
{role}