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

[base-ui][useMenu] Align external props handling for useMenu/MenuButton/MenuItem #38946

Merged
merged 5 commits into from
Sep 20, 2023

Conversation

mj12albert
Copy link
Member

@mj12albert mj12albert commented Sep 13, 2023

Part of #38186

This PR aligns the typing/handling of external props for useMenu, useMenuButton and useMenuItem, and adds some simple tests

@mj12albert mj12albert added component: menu This is the name of the generic UI component, not the React module! package: base-ui Specific to @mui/base labels Sep 13, 2023
@mui-bot
Copy link

mui-bot commented Sep 13, 2023

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against ca04f0f

@mj12albert mj12albert force-pushed the base/use-menu-external-props branch from e1c4ef0 to 95926c1 Compare September 18, 2023 09:04
@mj12albert mj12albert force-pushed the base/use-menu-external-props branch from 95926c1 to 822d1e6 Compare September 18, 2023 10:48
@mj12albert mj12albert force-pushed the base/use-menu-external-props branch from 822d1e6 to ca04f0f Compare September 18, 2023 11:38
@mj12albert mj12albert marked this pull request as ready for review September 18, 2023 11:58
@mj12albert mj12albert requested review from DiegoAndai and removed request for michaldudak September 18, 2023 14:21
Copy link
Member

@michaldudak michaldudak left a comment

Choose a reason for hiding this comment

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

👍 Great that you added tests!

@mj12albert mj12albert merged commit c25561f into mui:master Sep 20, 2023
9 checks passed
@mj12albert mj12albert deleted the base/use-menu-external-props branch September 20, 2023 09:07
christophermorin pushed a commit to christophermorin/material-ui that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: menu This is the name of the generic UI component, not the React module! package: base-ui Specific to @mui/base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants