-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Snackbar] Fix SnackbarOrigin TypeScript definition #12083
Conversation
Hm, why does
because I pushed changes in |
@tzfrs run |
d7978e3
to
fb4c8f1
Compare
@tzfrs It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot! |
@oliviertassinari I saw your commit, but it's not correct. I made the |
@tzfrs I have made nothing, I have run the tool that automatically generates the documentation. Thanks for raising, it's a broader issue. The Popover is also affected ( |
Ah okay, but how does the |
Well, this pull request is fixing the TypeScript definition. It's already a good step forward. Now, we need to fix the prop-types. |
* Make SnackBarOrigin properties mandatory * Make SnackBarOrigin properties mandatory * Rename SnackBar to Snackbar * yarn docs:api
This PR fixes #12072 by
SnackBar
toSnackbar
horizontal
andvertical
properties ofSnackbarOrigin
mandatory.Please note, that this is a BC break, but I think we don't follow Semver, do we @oliviertassinari ?
Result of
yarn test