1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00
portainer/app/react/kubernetes/cluster/RegistryAccessView/ConfirmDeleteAccess.tsx
Ali b128139b69
fix(UI): PO review tweaks [EE-5776] (#9245)
Co-authored-by: testa113 <testa113>
2023-07-28 07:50:53 +12:00

19 lines
593 B
TypeScript

import { confirmDestructive } from '@@/modals/confirm';
import { buildConfirmButton } from '@@/modals/utils';
export function confirmDeleteAccess() {
return confirmDestructive({
title: 'Are you sure?',
message: (
<>
<p>
This registry might be used by one or more applications inside this
environment. Removing the registry access could lead to a service
interruption for these applications.
</p>
<p>Are you sure you wish to continue?</p>
</>
),
confirmButton: buildConfirmButton('Remove', 'danger'),
});
}