1.0.1 • Published 4 years ago
awesome-notifier v1.0.1
Package Description
Create different type of notifications/popups
Installation
npm i awesome-notifier
or yarn add awesome-notifier
How it work
import { nofiy } from 'awesome-notifier'
notify.renderPopup()
Examples
import { nofiy } from 'awesome-notifier'
notify.renderPopup({
type:'success',
text:'Success Message'
})
notify.renderPopup({
type:'error',
text:'Error Message'
})
notify.renderPopup({
type:'success',
text:'Warning Message'
})
Options
awesome-notifier method popup supports two options:
- Initials_string - String('success','error','warning') (default is 'success')
- Initials_string - String (default is 'It was Successfull')