analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
16 lines • 618 B
TypeScript
import type { ChatbotMessage as ChatbotMessageType } from '../../types/chatbot';
/**
* Props for the scrollable list of messages
*/
export interface ChatbotMessageListProps {
messages: ChatbotMessageType[];
isSending?: boolean;
isLoading?: boolean;
emptyHint?: string;
className?: string;
}
/**
* Vertical list of messages with auto-scroll to bottom on new items.
*/
export default function ChatbotMessageList({ messages, isSending, isLoading, emptyHint, className, }: Readonly<ChatbotMessageListProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChatbotMessageList.d.ts.map