"use client"; import * as React from "react"; import { cn } from "./lib/utils"; export interface ChatMessage { id: string; author: string; initials: string; body: string; time?: string; direction: "incoming" | "outgoing"; } export interface ChatWindowProps { messages?: ChatMessage[]; onSend?: (body: string) => void; typing?: boolean; autoFocus?: boolean; } type LocalBubbleProps = { direction: "incoming" | "outgoing"; className?: string; children: React.ReactNode }; function LocalBubble({ direction, className, children }: LocalBubbleProps) { return (