weavify
Version:
````markdown # **Weavify - Reusable UI Components**
24 lines (23 loc) • 675 B
TypeScript
import React from 'react';
export type AlertType = 'success' | 'error' | 'warning' | 'info' | 'question';
interface ConfirmAlertProps {
type: AlertType;
title?: string;
text: string;
isBehindVisible?: boolean;
isConfirmBtn?: boolean;
countdown?: number;
popupCustomClass?: string;
id?: string;
confirmButtonText?: string;
cancelButtonText?: string;
successText?: string;
isSuccessAlert?: boolean;
showCancelButton?: boolean;
confirmButtonColor?: string;
cancelButtonColor?: string;
onConfirm?: () => void;
onCancel?: () => void;
}
export declare const ConfirmAlerts: React.FC<ConfirmAlertProps>;
export {};