1.0.2 • Published 6 years ago

snackifyjs v1.0.2

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

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