Skip to content
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][types] Make slots partial in CreateSlotsAndSlotProptype #42077

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

lhilgert9
Copy link
Contributor

@DiegoAndai
As already discussed in #41875, here is the PR to make the slots in the CreateSlotsAndSlotProps help type partial to avoid possible errors.

@mui-bot
Copy link

mui-bot commented May 1, 2024

Netlify deploy preview

https://deploy-preview-42077--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 6165656

@zannager zannager added the package: types Specific to @mui/types label May 1, 2024
@zannager zannager requested a review from DiegoAndai May 1, 2024 16:38
@DiegoAndai
Copy link
Member

Thanks for working on this @lhilgert9!

I'm on board with the changes. What do you think, @siriwatknp? Does this make sense to you?

@DiegoAndai DiegoAndai requested a review from siriwatknp May 3, 2024 16:03
@lhilgert9
Copy link
Contributor Author

@DiegoAndai @siriwatknp What about this one?

@ZeeshanTamboli
Copy link
Member

@DiegoAndai @siriwatknp Can you review this? The PR has been open for a while.

@DiegoAndai
Copy link
Member

@lhilgert9 I'm so sorry for the late reply. The v6 stable release consumed most of my time in the past month.

I'm still on board with this change. What do you think about removing ? for the slots definitions which are now redundant, would you be up to do it in this same PR?

@lhilgert9
Copy link
Contributor Author

@DiegoAndai Done🚀
Hope I got them all.

Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lhilgert9!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: types Specific to @mui/types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants