You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to show toast message with difference configuration.
Example: normal toast and notification toast.
For normal toast, want to show at the bottom right with maxSnack:5, autoHideDuration: 5000.
For notification toast, want to show at the bottom left with maxSnack: 10, autoHideDuration: null
Anyway to create multiple SnackbarProvider in single application and enqueueSnackbar message to different instance?
Any suggestion please.
Tech
Version
Notistack
v3.0.1
The text was updated successfully, but these errors were encountered:
@MinChanSike hi. Same question. I was able to resolve autoHideDuration. By calling enqueueSnackbar it is possible to provide your custom autoHideDuration prop in the second component. But maxSnack did not found solution for now.
I would like to show toast message with difference configuration.
Example: normal toast and notification toast.
For normal toast, want to show at the bottom right with
maxSnack:5
,autoHideDuration: 5000
.For notification toast, want to show at the bottom left with
maxSnack: 10
,autoHideDuration: null
Anyway to create multiple
SnackbarProvider
in single application andenqueueSnackbar
message to different instance?Any suggestion please.
The text was updated successfully, but these errors were encountered: