a-notification
v1.0.1
Published
simple customizable notification box
Downloads
4
Maintainers
Readme
A Notification
Generate dynamic customizable notifications!
Installation
Use the package manager npm to install a-notification.
npm install a-notification
Usage
import { notification } from 'a-notification';
notification('Success Message', 'success', 3000, 'custom-class');
Parameters
| Key | Type | | ------------ | ------- | | message | string | | type | success, info, warning, error, dark | | duration | number | | customClass | string |