UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

11 lines (10 loc) 527 B
import React from 'react'; import type { ChannelPreviewInfoParams } from '../ChannelPreview/hooks/useChannelPreviewInfo'; import type { LocalMessage } from 'stream-chat'; export type ThreadHeaderProps = { /** Callback for closing the thread */ closeThread: (event?: React.BaseSyntheticEvent) => void; /** The thread parent message */ thread: LocalMessage; }; export declare const ThreadHeader: (props: ThreadHeaderProps & Pick<ChannelPreviewInfoParams, 'overrideImage' | 'overrideTitle'>) => React.JSX.Element;