sweetalert confirm change cancel button text code example Example: change icon in sweet alert swal({ icon: "error",});