stream-chat-react
Version:
React components to create chat conversations or livestream style chat
12 lines (11 loc) • 441 B
TypeScript
import React from 'react';
import type { PropsWithChildren } from 'react';
import { DialogManager } from '../components/Dialog/DialogManager';
type DialogManagerProviderContextValue = {
dialogManager: DialogManager;
};
export declare const DialogManagerProvider: ({ children, id, }: PropsWithChildren<{
id?: string;
}>) => React.JSX.Element;
export declare const useDialogManager: () => DialogManagerProviderContextValue;
export {};