-
-
Couldn't load subscription status.
- Fork 32.7k
[material-ui][Autocomplete] Add custom props support via slotProps
#43613
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
[material-ui][Autocomplete] Add custom props support via slotProps
#43613
Conversation
Netlify deploy previewhttps://deploy-preview-43613--material-ui.netlify.app/ Bundle size report |
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.
Hey @Michael-Hutchinson, thanks for the PR! Could you also add a TypeScript module augmentation test? You can refer to this test: https://github.com/mui/material-ui/blob/master/packages/mui-material/test/typescript/moduleAugmentation/alertCustomSlotProps.spec.tsx. Let me know if you need any help.
e4c6abd to
556caeb
Compare
slotProps
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.
@Michael-Hutchinson I wrote a proper test case testing both paper and popper slots. Thanks for the PR.
Closes: #43609