stream-chat-react
Version:
React components to create chat conversations or livestream style chat
8 lines (7 loc) • 561 B
TypeScript
/// <reference types="react" />
import type { StreamMessage } from '../../../../context/ChannelStateContext';
import type { DefaultStreamChatGenerics } from '../../../../types/types';
export declare const useGiphyPreview: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(separateGiphyPreview: boolean) => {
giphyPreviewMessage: StreamMessage<StreamChatGenerics> | undefined;
setGiphyPreviewMessage: import("react").Dispatch<import("react").SetStateAction<StreamMessage<StreamChatGenerics> | undefined>> | undefined;
};