UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

15 lines 740 B
import type { PropsWithChildren } from 'react'; import React from 'react'; import type { SearchSource } from 'stream-chat'; export type SearchSourceResultsContextValue = { searchSource: SearchSource; }; export declare const SearchSourceResultsContext: React.Context<SearchSourceResultsContextValue | undefined>; /** * Context provider for components rendered within the `SearchSourceResults` */ export declare const SearchSourceResultsContextProvider: ({ children, value, }: PropsWithChildren<{ value: SearchSourceResultsContextValue; }>) => import("react/jsx-runtime").JSX.Element; export declare const useSearchSourceResultsContext: () => SearchSourceResultsContextValue; //# sourceMappingURL=SearchSourceResultsContext.d.ts.map