react-pop-toast
v1.1.3
Published
Smoking hot React Notifications. Lightweight, customizable and beautiful by default.
Downloads
7
Maintainers
Readme
Features
- ⏳ AsyncBlaze - Automatic loader from a promise
- 🤯 ReactGhostHooks - Create your own with
useNotifier()
- 🔩 CustomSpark
- 🕊 FeatherLite - less than 5kb including styles
- 🔥 IgnitePop
- ✅ EaseAccess
Installation
With yarn
yarn add react-pop-toast
With NPM
npm install react-pop-toast
Getting Started
Start by integrating the Toaster into your application—it handles the seamless rendering of all emitted notifications. Now, empower your app by triggering toast()
effortlessly from any corner!
import toast, { Toaster } from 'react-pop-toast';
const notify = () => toast('Here is your toast.');
const App = () => {
return (
<div>
<button onClick={notify}>Make me a toast</button>
<Toaster />
</div>
);
};
Documentation
Find the full API reference on official documentation.