-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Add Snackbars TypeScript Demos #15087
Conversation
No bundle size changes comparing be889d9...1b594f9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, rewrote the ConsecutiveSnackbars demo to use hooks to get around a proptypes typescript error with styles.
Could you do this in a separate PR? You can look at the other demos how to get around propTypes
errors.
@eps1lon @oliviertassinari I was able to find another demo with a pattern I could follow! I've updated |
@sperry94 Thanks |
Removes some unnecessary JS diffs created in #15087.
Added TS demos for Snackbars components as a part of #14897
Also, rewrote the ConsecutiveSnackbars demo to use hooks to get around a proptypes typescript error with styles.