snackifyjs

1.0.2 • Public • Published

Installation

npm i snackifyjs

How to use ?

import Notify, { openNotification } from 'Notify';

Initiate Notify anywhere in your render

Call openNotification("Your notification text","notification type") when ever you want notification to appear

Example: openNotification("Something went wrong. Please try again later","error")

Aceeptable notification type:

  1. success
  2. error
  3. info
  4. warning

Readme

Keywords

none

Package Sidebar

Install

npm i snackifyjs

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

230 kB

Total Files

6

Last publish

Collaborators

  • bharath722