Sweetalert
SweetAlert2 provides beautiful, customizable, and accessible popups. For more details
Installing via npm
npm install sweetalert2
Script
import Swal from 'sweetalert2';
const swalEvent = () => {
Swal.fire({
title: "Added!",
text: "Your item has been added to the cart.",
icon: "success",
confirmButtonText: "Ok",
background: "#141314",
color: "#ffffff",
});
};