-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Update props using Array to ReadonlyArray type #40754
Conversation
Netlify deploy previewhttps://deploy-preview-40754--material-ui.netlify.app/ Bundle size report |
Hey @RaghavenderSingh, thanks for working on this 😊. Before reviewing, please fix the failing build checks. |
Yea sure will fix the failing build checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are couple more occurrences of a mutable arrays in Base UI that could be changed to ReadonlyArray. Search for []
in ./packages/mui-base/**/*.types.ts
@michaldudak Since the PR author isn't active, I've made the changes myself. Could you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Zeeshan!
I have followed (at least) the PR section of the contributing guide.
Replaced Array API with ReadonlyArray
Closes #40750