@open-chat/chat-bubble
Version:
Chat bubble component.
13 lines (12 loc) • 459 B
TypeScript
import { type ReactNode } from "react";
import { InitialDataType } from "../types/initialDataType";
interface InitialDataContextProps {
data?: InitialDataType;
loading?: boolean;
refetch?: () => void;
}
declare const useInitialData: () => InitialDataContextProps | undefined;
declare function InitialDataProvider({ children }: {
children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export { useInitialData, InitialDataProvider };