stream-chat-react
Version:
React components to create chat conversations or livestream style chat
4 lines • 426 B
TypeScript
import type { StreamMessage } from '../../../context/ChannelStateContext';
import type { DefaultStreamChatGenerics } from '../../../types/types';
export declare function useShouldForceScrollToBottom<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(messages: StreamMessage<StreamChatGenerics>[], currentUserId?: string): () => boolean;
//# sourceMappingURL=useShouldForceScrollToBottom.d.ts.map