@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
19 lines (18 loc) • 550 B
TypeScript
import React from 'react';
export interface NotificationModalProps {
show: boolean;
onClose: () => void;
onConfirm?: () => void;
title?: string;
message: string;
variant?: 'success' | 'error' | 'warning' | 'info';
confirmText?: string;
cancelText?: string;
showConfirmButton?: boolean;
showCancelButton?: boolean;
loading?: boolean;
size?: 'sm' | 'md' | 'lg' | 'xl';
children?: React.ReactNode;
}
declare const NotificationModal: React.FC<NotificationModalProps>;
export default NotificationModal;