@kopexa/alert-dialog
Version:
A modal dialog that interrupts the user with important content and expects a response.
14 lines (11 loc) • 417 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ConfirmOptions } from './confirm.types.mjs';
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 };