UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

7 lines (6 loc) 510 B
import type { ChannelStateContextValue } from '../../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare const useCreateChannelStateContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(value: Omit<ChannelStateContextValue<StreamChatGenerics>, 'channelCapabilities'> & { channelCapabilitiesArray: string[]; skipMessageDataMemoization?: boolean; }) => ChannelStateContextValue<StreamChatGenerics>;