install swal in react code example
Example 1: sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
Example 2: sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>