type of icons in sweet alert code example
Example 1: switch alert
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
Example 2: sweet alert bootstrap
Swal.fire({ icon: 'success', title: 'Oops...', text: 'Something went wrong!', footer: 'Why do I have this issue?'})