UNPKG

@nayan-ui/react

Version:

Reusable Component Library for ReactJS.

19 lines 670 B
import React, { ReactNode } from 'react'; import { AlertDialog } from './ui/alert-dialog'; export interface NConfirmAlertProps extends Omit<React.ComponentProps<typeof AlertDialog>, 'open' | 'onOpenChange'> { isOpen: boolean; message: string; title?: string; className?: string; titleClassName?: string; messageClassName?: string; cancelClassName?: string; confirmClassName?: string; confirmText?: string; cancelText?: string; onResult: (result: boolean) => void; onClose: () => void; children?: ReactNode; } export declare const NConfirmAlert: React.FC<NConfirmAlertProps>; //# sourceMappingURL=NConfirmAlert.d.ts.map