'use client'; import { UserAvatar } from '@/components/id/user-avatar'; import { cn } from '@/lib/utils'; export function OnlineDot({ online, className }: { online?: boolean; className?: string }) { if (!online) return null; return ( ); } export function AvatarWithPresence({ userId, displayName, hasAvatar, token, isVerified, verificationIcon, online, className = 'h-9 w-9', badgeSize = 'xs' }: { userId: string; displayName?: string; hasAvatar?: boolean; token: string | null; isVerified?: boolean; verificationIcon?: string | null; online?: boolean; className?: string; badgeSize?: 'xs' | 'sm' | 'md' | 'lg'; }) { return (
); }