Skip to content

[ButtonBase] Export types used in ButtonBase props#43530

Merged
Janpot merged 1 commit intomui:masterfrom
Janpot:touch-ripple-export
Jan 16, 2025
Merged

[ButtonBase] Export types used in ButtonBase props#43530
Janpot merged 1 commit intomui:masterfrom
Janpot:touch-ripple-export

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Aug 30, 2024

Allows X to avoid deeply nested imports in X https://github.com/mui/mui-x/blob/1a9426021bd72b5a1cc18e2c78a5a063d27be541/docs/data/data-grid/column-definition/RenderCellGrid.tsx#L4

In fact it would make sense to export all types that are referenced by public API. But that's another story 🙂

These imports will break once we put a hard limit on what is exported from the package

@mui-bot
Copy link

mui-bot commented Aug 30, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against cf3b5cd

@Janpot Janpot marked this pull request as ready for review August 30, 2024 13:13
@zannager zannager requested a review from mj12albert September 2, 2024 14:47
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@Janpot Just saw this PR. Approving in case it’s relevant once the exports field is added to package.json.

@Janpot Janpot merged commit bc483df into mui:master Jan 16, 2025
@Janpot Janpot deleted the touch-ripple-export branch January 16, 2025 08:32
@zannager zannager added the scope: button Changes related to the button. label Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: ButtonBase The React component. scope: button Changes related to the button.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants