Skip to content

Repository files navigation

react-growl

react growl component

NPM JavaScript Style Guide

Install

npm install --save react-growl

Usage

import React, { Component } from 'react'

import { Growl, useGrowl } from 'react-growl'

const App = () => {
  const [active, setActive] = useGrowl(5000)

  return (
    <Growl
      onDismissed={() => setActive(false)}
      active={active}
      message='Hello World!'
    />
  )
}

Demo

License

MIT © https://github.com/L3au

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages