UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

21 lines 961 B
import type { ChatbotConversation } from '../../types/chatbot'; /** * Props for the list of past chatbot conversations */ export interface ChatbotConversationListProps { conversations: ChatbotConversation[]; activeConversationId: string | null; isLoading?: boolean; onSelect: (id: string) => void; onDelete: (id: string) => void; onStartNew: () => void; className?: string; } /** * Sidebar-like drawer listing the student's past conversations. Clicking * a row activates it; the trash icon calls `onDelete` — the actual * confirmation flow (modal, toast-undo, etc.) is delegated to the * consumer so behaviour can be customized per host app. */ export default function ChatbotConversationList({ conversations, activeConversationId, isLoading, onSelect, onDelete, onStartNew, className, }: Readonly<ChatbotConversationListProps>): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ChatbotConversationList.d.ts.map