Snackbar
The Snackbar component informs users that an action has been or will be performed by the app.
useSnackbar API
Import
import { useSnackbar } from '@mui/base/useSnackbar';
// or
import { useSnackbar } from '@mui/base';
The Snackbar component informs users that an action has been or will be performed by the app.
import { useSnackbar } from '@mui/base/useSnackbar';
// or
import { useSnackbar } from '@mui/base';