UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

14 lines (13 loc) 518 B
import type { Channel } from 'stream-chat'; export type ChannelPreviewInfoParams = { channel: Channel; /** Manually set the image to render, defaults to the Channel image */ overrideImage?: string; /** Set title manually */ overrideTitle?: string; }; export declare const useChannelPreviewInfo: (props: ChannelPreviewInfoParams) => { displayImage: string | undefined; displayTitle: string | undefined; groupChannelDisplayInfo: import("../utils").GroupChannelDisplayInfo | undefined; };