sweetalert2 button color code example
Example 1: swal change confirm button class
Swal.fire({
title: 'example text',
buttonsStyling: false,
customClass: {
confirmButton: 'example-class' //insert class here
}
})
Example 2: sweet alert bootstrap
Swal.fire({ icon: 'success', title: 'Oops...', text: 'Something went wrong!', footer: '<a href>Why do I have this issue?</a>'})