Skip to content

Commit

Permalink
Add updateDuplicate option
Browse files Browse the repository at this point in the history
When set, an existing snackbar can be updated to contain a new message.  The snackbar position remains unchanged.  This is particularly useful if you want to display a persistent error, and then replace it with a transient success message once the issue is resolved.  Saves a lot of application logic to just do it here.

The redux example has bene updated to demo this.
  • Loading branch information
ggascoigne committed Jul 9, 2021
1 parent 1d9167a commit 5e1fcfa
Show file tree
Hide file tree
Showing 6 changed files with 1,123 additions and 901 deletions.
Loading

0 comments on commit 5e1fcfa

Please sign in to comment.