UNPKG

react-smart-dialogue

Version:

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

14 lines (13 loc) 341 B
import React from "react"; export interface DialogueProps { isOpen: boolean; title: string; message: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; onClose?: () => void; } declare const DynamicDialogue: React.FC<DialogueProps>; export default DynamicDialogue;