@kopexa/alert-dialog
Version: 
A modal dialog that interrupts the user with important content and expects a response.
14 lines (11 loc) • 416 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ConfirmOptions } from './confirm.types.js';
type ConfirmationDialogProps = {
    isOpen: boolean;
    onOpenChange: (isOpen: boolean) => void;
    config: ConfirmOptions;
    onConfirm: () => void;
    onCancel: () => void;
};
declare const ConfirmDialog: (props: ConfirmationDialogProps) => react_jsx_runtime.JSX.Element;
export { ConfirmDialog };