stream-chat-react
Version:
React components to create chat conversations or livestream style chat
12 lines • 599 B
TypeScript
import React from 'react';
import type { PropsWithChildren } from 'react';
import type { ChannelState as StreamChannelState } from 'stream-chat';
export type TypingContextValue = {
typing?: StreamChannelState['typing'];
};
export declare const TypingContext: React.Context<TypingContextValue | undefined>;
export declare const TypingProvider: ({ children, value, }: PropsWithChildren<{
value: TypingContextValue;
}>) => import("react/jsx-runtime").JSX.Element;
export declare const useTypingContext: (componentName?: string) => TypingContextValue;
//# sourceMappingURL=TypingContext.d.ts.map