react-push-notifications
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

React Push Notifications

Simple and customizable push notifications.

import { notify, NotifyContainer, Colors } from "react-push-notifications";
import "react-push-notifications/notify.css";

export default function Login() {
    const handleClick = () => notify("Clicked Button!", 4000, Colors.gray[300], "#202020", Colors.green[500]);

    return (
        <button onClick={handleClick}>Click me!</button>
    )
};

Package Sidebar

Install

npm i react-push-notifications

Weekly Downloads

7

Version

1.0.4

License

MIT

Unpacked Size

7.59 kB

Total Files

5

Last publish

Collaborators

  • epsilonr