Skip to content

meetdave3/react-growl

 
 

Repository files navigation

alt text

@crystallize/react-growl

A package for React Growl Notifications. This is a generic React package initially built for the React Commerce boilerplate in Crystallize.

Install

yarn add @crystallize/react-growl

Usage

In Layout or somewhere outside the routes:

import { GrowlComponent } from '@crystallize/react-growl';

<main>
    <GrowlComponent />

Call it!

import growl from '@crystallize/react-growl';

growl('Hey dude!');

growl({
    message: <b>Some bold text</b>,
    type: 'error'
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.2%
  • HTML 4.5%
  • CSS 1.3%