a-notification

1.0.1 • Public • Published

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

License

MIT

Package Sidebar

Install

npm i a-notification

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.39 kB

Total Files

3

Last publish

Collaborators

  • aaoztoprak