-
Notifications
You must be signed in to change notification settings - Fork 364
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
refactor: [M3-6393] - MUI v5 - Components > Snackbar
#9103
Conversation
I have a bit more work to do in order to get our tests to pass. The new version of Snackbar isn't allowing |
I think the failing tests are due to the new version of |
Components > Snackbar
This PR has been open for a while and conflicts would be easier to resolve with a new PR |
Description 📝
Refactors
Snackbar
to usestyled
api and cleaned up the overall usage of the component.Major Changes 🔄
SnackBar
toSnackbar
to follow naming convention"notistack": "^3.0.1"
withSnackbar
to just callenqueueSnackbar
directlyWithSnackbarProps
is no longer needed, but if it is, we can useProviderContext
fromnotistack
ToastNotifications
Storybook MDX to 7.0 CSFPending Changes
Preview 📷
Should be no visual changes
How to test 🧪
Option 1:
yarn storybook
Option 2: