/* eslint-disable @typescript-eslint/no-explicit-any */ import { BaseProps } from "../../Factory/BaseType"; import { Dialog } from "@progress/kendo-react-dialogs"; import FactoryRenderer from "../../Renderer"; import ConfirmationIllustration from "./ConfirmationIllustration"; type ConfirmationAlertViewProps = BaseProps & { messageHeader?: string; messageBody?: string; iconUrl?: string; iconName?: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; }; const ConfirmationAlertView = (props: ConfirmationAlertViewProps) => { return (
{props.iconUrl ? ( ) : props.iconName ? ( ) : ( )}

{props.messageHeader}

{props.messageBody ? (

{props.messageBody}

) : null}
); }; export default ConfirmationAlertView;