a-notification
Version:
simple customizable notification box
32 lines (21 loc) • 585 B
Markdown
dynamic customizable notifications!
Use the package manager npm to install a-notification.
```bash
npm install a-notification
```
```javascript
import { notification } from 'a-notification';
notification('Success Message', 'success', 3000, 'custom-class');
```
| Key | Type |
| ------------ | ------- |
| message | string |
| type | success, info, warning, error, dark |
| duration | number |
| customClass | string |
[ ](https://choosealicense.com/licenses/mit/)
Generate