Get a beautiful alert for info, success and error events
npm i bubble-alert --save
Then...
import {bubbleAlert} from "bubble-alert";
bubbleAlert({
type: "info",
text: "Hello, World!"
})
bubbleAlert supports 2 options, both of which are optional:
- type - info / error / success (Defaults to info)
- text - string (Defaults to Hello, World!)