import { cn } from "@/lib/utils"; import type { Message } from "@/lib/api"; type Props = { messages: Message[]; isLoading: boolean; isSending: boolean; }; export function ChatMessagesPanel({ messages, isLoading, isSending }: Props) { return ( <> {isLoading && messages.length === 0 ?
Loading messages...
: null} {!isLoading && messages.length === 0 ? (Ask a question to begin this conversation.