import toaster from "toasted-notes"; import "toasted-notes/src/styles.css"; // optional styles toaster.notify("i am notifying you i will exit after 2s", {duration: 2000})