1.0.2 • Published 6 years ago
snackifyjs v1.0.2
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:
- success
- error
- info
- warning