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

Cool things I have built from scratch (or mostly) #93

Open
baymac opened this issue Jul 18, 2021 · 3 comments
Open

Cool things I have built from scratch (or mostly) #93

baymac opened this issue Jul 18, 2021 · 3 comments

Comments

@baymac
Copy link
Owner

baymac commented Jul 18, 2021

See comments

@baymac
Copy link
Owner Author

baymac commented Jul 18, 2021

Snackbar

Function

Toast for API response

Parts

A Snackbar component and an useReset hook to auto hide snackbar after some duration.

More Improvements?

  1. Wrap App with a Snackbar Provider and implement useSnackbar hook instead of adding Snackbar components where required (can also be solved using global state).
  2. Allow stacking of multiple snackbars.

@baymac
Copy link
Owner Author

baymac commented Jul 18, 2021

Newsletter

@baymac
Copy link
Owner Author

baymac commented Jul 18, 2021

Modal

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

1 participant