1.0.1 • Published 5 years ago
a-notification v1.0.1
A Notification
Generate dynamic customizable notifications!
Installation
Use the package manager npm to install a-notification.
npm install a-notificationUsage
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 |