Improve live example by replacing all window.alerts by toasts or other non blocking alerts #241
Labels
documentation
add documentation to the repository or the the code base
feature request
Hacktoberfest
Hacktoberfest label
Is your feature request related to a problem? Please describe.
Currently, there are a few
window.alert
usages in the live example that might be a bit annoying for the end-user because although in fact an action was performed, it does not mean that we need to interrupt the browser.Describe the solution you'd like
Provide the interaction example messages in a nonblocking notification component such as a toast or a notification banner. A good candidate for this kind of use case is fkhadra/react-toastify, but others might come into play.
Describe your use case
User clicks on some link, informative toast is display for demonstration purposes.
Describe alternatives you've considered
fkhadra/react-toastify
Additional context
This is ugly.
The text was updated successfully, but these errors were encountered: