swet alert confirmButton false code example
Example 1: sweet alert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 2: change icon in sweet alert
swal({ icon: "error",});
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
swal({ icon: "error",});