Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Multiple actions support #107

Closed
YBogomolov opened this issue Apr 4, 2019 · 2 comments
Closed

[FR] Multiple actions support #107

YBogomolov opened this issue Apr 4, 2019 · 2 comments

Comments

@YBogomolov
Copy link
Contributor

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 wraps action in SnackbarItem, or check if action is actually an array and map through it.

@iamhosseindhv
Copy link
Owner

iamhosseindhv commented Apr 5, 2019

Thanks @YBogomolov. This is next on the list to be implemented.

@iamhosseindhv
Copy link
Owner

Fixed. Refer to #110 for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants