Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[ButtonBase] Export types used in ButtonBase props #43530

Merged
merged 1 commit into from
Jan 16, 2025

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
19 of 20 checks passed
@Janpot Janpot deleted the touch-ripple-export branch January 16, 2025 08:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: ButtonBase The React component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants