@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
16 lines (15 loc) • 519 B
TypeScript
import * as React from 'react';
import { ThreadModel } from '../../models/ThreadModel';
import { BoxRefType } from '../hooks/useElementRef';
import { ApiManager } from '../core/useApiManager';
export type ChatScrollApiRef = {
handleBottomScroll: () => void;
};
type Props = {
scrollApiRef: React.RefObject<ChatScrollApiRef>;
thread: ThreadModel | undefined;
contentRef?: BoxRefType;
apiManager: ApiManager;
};
declare const ChatScroller: React.FC<Props>;
export default ChatScroller;