UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

13 lines (12 loc) 498 B
import * as React from 'react'; import { Thread, ThreadModel } from '../../models'; import { Threads } from '../../models/Threads'; import { HistorySlotType } from '../core/history/HistoryType'; type Props = { thread: ThreadModel; setThread: (thread: Thread) => void; model: Threads<any, any>; slots: Pick<HistorySlotType, 'baseListItemText' | 'threadListItemMenuButton'>; }; declare const ThreadListItemObserver: React.FC<Props>; export default ThreadListItemObserver;