Generate notifications for your project. You may use this for async reporting onto your app or any other kind of reporting functionality.
npm install xnotify --save
import { xnotify } from 'xnotify';
xnotify('Your notification text')
- innerText / string / the text message
- stack / boolean / true to stack multiple notifications
- borderColor / string / the border color of the notification
- fontColor / string / the font color of the notification
- background / string / the background color of the notification
- width / string / the width of the notification
- fontSize / string / the font size of the notification
- state / boolean / true to let the notification visible
- container / string / the container where the notification lives