import { Avatar } from '@/components/ui/avatar'; import { cn } from '@/lib/classMerge'; import React, { forwardRef } from 'react'; interface MessageContainerProps { children: React.ReactNode; senderName?: string; senderId?: string; senderAvatar?: string | null; className?: string; onMouseEnter?: () => void; onMouseLeave?: () => void; } export const MessageContainer = forwardRef( ( { children, senderName, senderId, senderAvatar, className = '', onMouseEnter, onMouseLeave }, ref ) => { return (
{senderName ? ( ) : ( )}
{children}
); } ); MessageContainer.displayName = 'MessageContainer';