UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

10 lines (9 loc) 435 B
import React from 'react'; import type { Thread } from 'stream-chat'; import type { ThreadListItemUIProps } from './ThreadListItemUI'; export type ThreadListItemProps = { thread: Thread; threadListItemUIProps?: ThreadListItemUIProps; }; export declare const useThreadListItemContext: () => Thread | undefined; export declare const ThreadListItem: ({ thread, threadListItemUIProps, }: ThreadListItemProps) => React.JSX.Element;