New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

growl-task

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

growl-task

Growl Task

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Growl Task

This package consists of growl notification feature which is auto hidden in every 3 seconds once it is updated

Note: This project is created solely for the purpose of coding interview. PLease do not use this in your live projects.

Install

growl-task v1.0

npm install growl-task

Usage

Import the Growl component in your desired react component using follwoing code:


import {Growl} from 'growl-task'

Then, simply use the component with initial state and message to notify.


<Growl active={true} message='Hello World'  />


Options

You can pass options to the Growl component by passing values to below props:

active {type:bool}: sets state of Growl component to show or hide. message {type:string}: sets message of Growl component to display.

Thank you for your time to reviewer of this code.

FAQs

Package last updated on 28 Apr 2021

Related posts