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