Destroy action type - renders a delete button with confirmation.
Used for delete actions that destroy a record.
Usage
row_actions do
action :delete, type: :destroy
action :remove, type: :destroy, confirm: "Delete this item permanently?"
endSee MishkaGervaz.Table.Types.Action (registry),
MishkaGervaz.Table.Behaviours.ActionType,
MishkaGervaz.Table.Entities.RowAction, and
MishkaGervaz.Table.Entities.BulkAction.