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