@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
10 lines (9 loc) • 446 B
TypeScript
/// <reference types="lodash" />
import * as React from 'react';
import { ThreadModel } from '../../models/ThreadModel';
export declare const useChatScroller: (thread: ThreadModel | undefined, contentRef: React.RefObject<HTMLDivElement | null> | undefined) => {
handleBottomScroll: () => void;
scrollButtonEnabled: boolean;
isTablet: boolean;
handleCheckButtonState: import("lodash").DebouncedFuncLeading<() => void>;
};