An action to delete, with confirmation.
Props
The name of the item to delete.
if the action should be disabled.
If the action is within an c2-action-dropdown
.
The icon to show for the action.
The text to display within the modal.
The details of the toast to be popped, when successfully deleted.
If the user needs to type the passed description to enable deletion.
IconDescription
NamespacedIcon
ConfirmModalOptions
What to display within a modal.
Text or component to display in the body of the modal.
Text to display within the confirm button.
Which variant to display the button as.
Text to display in the heading.
Text to display above the heading.
Text to display in red below the body.
ButtonVariant
ToastOptions
How long to display the notification for before removing it.
Icon to display on left of the toast. Will default to default of level.
Message to be displayed under the title.
Title to be displayed on the toast.