1.1.1 • Published 4 years ago

bubble-alert v1.1.1

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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!)