UNPKG

react-smart-dialogue

Version:

A customizable and dynamic dialogue component for React with TypeScript and Tailwind CSS support

11 lines (10 loc) 344 B
import React, { ReactNode } from "react"; import { UseDialogueOptions } from "../hooks/useDialogue"; type DialogueContextType = { showDialogue: (opts: UseDialogueOptions) => void; }; export declare function useDialogueContext(): DialogueContextType; export declare const DialogueProvider: React.FC<{ children: ReactNode; }>; export {};