UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

6 lines 360 B
import type { ThreadState } from 'stream-chat'; /** * @description returns thread state, prioritizes `ThreadListItemContext` falls back to `ThreadContext` if not former is not present */ export declare const useThreadState: <T extends readonly unknown[]>(selector: (nextValue: ThreadState) => T) => T | undefined; //# sourceMappingURL=useThreadState.d.ts.map