stream-chat-react
Version:
React components to create chat conversations or livestream style chat
12 lines • 508 B
TypeScript
import type { PropsWithChildren } from 'react';
import React from 'react';
export type ModalContextValue = {
close: () => void;
dialogId?: string;
};
export declare const ModalContext: React.Context<ModalContextValue | undefined>;
export declare const ModalContextProvider: ({ children, value, }: PropsWithChildren<{
value: ModalContextValue;
}>) => import("react/jsx-runtime").JSX.Element;
export declare const useModalContext: () => ModalContextValue;
//# sourceMappingURL=ModalContext.d.ts.map