stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines • 500 B
TypeScript
import React from 'react';
import type { PropsWithChildren } from 'react';
import type { Thread } from 'stream-chat';
export type ThreadContextValue = Thread | undefined;
export declare const ThreadContext: React.Context<ThreadContextValue>;
export declare const useThreadContext: () => ThreadContextValue;
export declare const ThreadProvider: ({ children, thread, }: PropsWithChildren<{
thread?: Thread;
}>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ThreadContext.d.ts.map