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

[DataGrid] refactor: baseMenuList & baseMenuItem #15049

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Oct 21, 2024

Design-system agnostic related.

I've added baseMenuList & baseMenuItem. I did not introduce equivalents for ListItemText and ListItemIcon because I don't think I'll go with that API for the base slots, the API will probably look something like this instead:

<slots.baseMenuItem iconLeft={...} iconRight={...}>{text}</slots.baseMenuItem>

Because it's easier to adapt that API to the other design systems rather than the other way around.

@romgrk romgrk added the component: data grid This is the name of the generic UI component, not the React module! label Oct 21, 2024
@romgrk romgrk requested a review from a team October 21, 2024 22:50
@mui-bot
Copy link

mui-bot commented Oct 21, 2024

Deploy preview: https://deploy-preview-15049--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 2675663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants