UNPKG

react-async-alert-confirm

Version:

A reusable React component library for alert dialog and confirm dialog

8 lines (7 loc) 236 B
declare const AlertDialog: ({ title, content, yes, confirm_text, }: { title?: string; content?: string; yes?: () => void; confirm_text?: string; }) => import("react/jsx-runtime").JSX.Element; export default AlertDialog;