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
Currently Notistack supports only one possible action, while sometimes it is useful to have multiple actions on the snack. Such actions may include a pair of buttons: one for closing the persistent snack, and the second one for displaying a modal dialog with error details.
Implementation idea
Remove <span> which wraps action in SnackbarItem, or check if action is actually an array and map through it.
The text was updated successfully, but these errors were encountered:
Motivation
Currently Notistack supports only one possible action, while sometimes it is useful to have multiple actions on the snack. Such actions may include a pair of buttons: one for closing the persistent snack, and the second one for displaying a modal dialog with error details.
Implementation idea
Remove
<span>
which wrapsaction
in SnackbarItem, or check ifaction
is actually an array andmap
through it.The text was updated successfully, but these errors were encountered: