README.md
š React-Toastify allows you to add notifications to your app with ease.
$ npm install --save react-toastify
$ yarn add react-toastify
import React from 'react';
import { ToastContainer, toast } from 'react-toastify';
function App(){
const notify = () => toast("Wow so easy!");
return (
<div>
<button onClick={notify}>Notify!</button>
<ToastContainer />
</div>
);
}
Check the documentation to get you started!
onOpen and onClose hooks. Both can access the props passed to the react component rendered inside the toastnprogress š²A demo is worth a thousand words
Show your ā¤ļø and support by giving a ā. Any suggestions are welcome! Take a look at the contributing guide.
You can also find me on reactiflux. My pseudo is Fadi.
This project exists thanks to all the people who contribute. [Contribute]. <a href="https://github.com/fkhadra/react-toastify/graphs/contributors"></a>
Become a financial contributor and help us sustain our community. [Contribute]
<a href="https://opencollective.com/react-toastify"></a>
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
<a href="https://opencollective.com/react-toastify/organization/0/website"></a> <a href="https://opencollective.com/react-toastify/organization/1/website"></a> <a href="https://opencollective.com/react-toastify/organization/2/website"></a> <a href="https://opencollective.com/react-toastify/organization/3/website"></a> <a href="https://opencollective.com/react-toastify/organization/4/website"></a> <a href="https://opencollective.com/react-toastify/organization/5/website"></a> <a href="https://opencollective.com/react-toastify/organization/6/website"></a> <a href="https://opencollective.com/react-toastify/organization/7/website"></a> <a href="https://opencollective.com/react-toastify/organization/8/website"></a> <a href="https://opencollective.com/react-toastify/organization/9/website"></a>
You can find the release note for the latest release here
You can browse them all here
Licensed under MIT