React notification made easy
npm install @walruship/toastify

Toastify allows you to add notifications to your app with ease. No more nonsense!
- Maximum snackbars.
- Hide duration.
- Dismiss programmatically.
- Prevent duplicate.
- Easy customization.
- And much more !
Use your preferred package manager:
```
$ npm install --save @walruship/toastify
$ yarn add @walruship/toastify
Instantiate a SnackbarProvider component and start showing snackbars: (see docs for a full list of available props)
`jsx
import { SnackbarProvider, enqueueSnackbar } from '@walruship/toastify';
const App = () => {
return (
Alternatively, You can use
useSnackbar hook to display Snackbars. Just remember to wrap your app inside of a SnackbarProvider to have access to the hook context:`jsx
import { SnackbarProvider, useSnackbar } from '@walruship/toastify';
;
const MyButton = () => {
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
return ;
};
``Check the documentation to get you started!
- If you discover any security related issues, please email 286.trants@gmail.com instead of using the issue tracker.
- This software is released under the [BSD 3-Clause][link-license] License. Please see the LICENSE file or https://walruship.com/LICENSE.txt for more information.
[link-license]: https://opensource.org/license/bsd-3-clause/