-
-
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
[typescript] Introduce *OwnProps interfaces for components #36798
Conversation
Netlify deploy previewhttps://deploy-preview-36798--material-ui.netlify.app/ Bundle size report |
packages/mui-material-next/src/TablePagination/TablePagination.d.ts
Outdated
Show resolved
Hide resolved
@michaldudak I fixed the changes you requested and have a question |
Thanks! Would you mind merging in the latest master? I'll do the final review then. |
@michaldudak sorry for the delay, i made the merge |
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.
Nice work! There is a couple of things to correct. Also, please merge in the latest master.
@DiegoAndai FYI, we're standardizing to use |
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.
Looks good! Thanks for your work!
This PR introduces
OwnProps
in components where the component props are not defined as an augmentable interface while keeping existing exported types or subinterfaces to keep backwards compatibility, as discussed in #36470.Closes #30507
Closes #36470