import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { cn } from "@/lib/utils"; interface MessageListItemProps { message: { title: string; desc: string; active?: boolean; hasnotifaction?: boolean; notification_count?: number; image: string; } } const MessageListItem = ({ message }: MessageListItemProps) => { const { title, desc, active, hasnotifaction, notification_count, image } = message; return (
  • {title}
    {desc}
    3 min ago
    {hasnotifaction && (
    {notification_count}
    )}
  • ); }; export default MessageListItem;