"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react");require("../../../AppCommonsProvider/AppCommonsProvider.js");var r=require("../../../AppCommonsProvider/AppCommonsContext.js"),n=require("../../../Modal/Modal.js");exports.AppRemoveConfirmationModal=function(a){var i=a.onClose,p=a.open,t=r.useAppCommonsInternal(),l=t.onAppRemove,m=t.appName,d=o.useCallback((function(){i(),null==l||l()}),[i,l]);return e.jsx(n.Modal,{open:p,onClose:i,title:"Remove ".concat(m,"?"),primaryActionText:"Remove",primaryActionHandler:d,secondaryActionText:"Cancel",secondaryActionHandler:i,children:"App and all related information will be removed immediately. App can be added again from AppStore."})};
//# sourceMappingURL=AppRemoveConfirmationModal.js.map
