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

[Documentation] Update custom snackbar component example #594

Open
DoubleDebug opened this issue Jan 12, 2024 · 2 comments
Open

[Documentation] Update custom snackbar component example #594

DoubleDebug opened this issue Jan 12, 2024 · 2 comments

Comments

@DoubleDebug
Copy link

The CodeSandbox example linked in the official documentation uses the makeStyles function from MUI, which is deprecated and no longer supported by MUI v5.

  • Is there a way to use the same styles with the newest version of Material UI?
  • Can you please update the example using the recommended styling solution for MUI 5?

Thanks in advance!

@abubakkariiui
Copy link

@DoubleDebug check it here please:

https://github.com/iamhosseindhv/notistack/pull/596/files

@DoubleDebug
Copy link
Author

@abubakkariiui Looks good to me.
It would be great if this was merged and example from the docs was updated.

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