1.0.1 • Published 3 years ago

a-notification v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

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

KeyType
messagestring
typesuccess, info, warning, error, dark
durationnumber
customClassstring

License

MIT