Skip to content

Instantly share code, notes, and snippets.

@pmun-intive
pmun-intive / App.js
Last active September 28, 2022 13:04
Notistack example for v1.0.10 with redux
import React, { Fragment } from "react";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import Notifier from "./Notifier";
import { useSnackbar } from "notistack";
const App = props => {
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
const handleClick = () => {