sweet alert install react code example
Example 1: sweet alert react
import swal from 'sweetalert';
Example 2: sweet alert react
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
import swal from 'sweetalert';
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>