'use client'; import type { ChatMessageReaction } from '@/lib/api'; import { cn } from '@/lib/utils'; interface ChatMessageReactionsProps { reactions?: ChatMessageReaction[]; onToggle?: (emoji: string) => void; compact?: boolean; } export function ChatMessageReactions({ reactions, onToggle, compact }: ChatMessageReactionsProps) { if (!reactions?.length) return null; return (
{reactions.map((reaction) => ( ))}
); }