sweat alerts in react code example
Example 1: sweet alert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 2: sweetallert
swal({
text: "Hello world!",
});
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
swal({
text: "Hello world!",
});