-
-
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
[docs][joy] Build TS versions for Textarea component demos #36371
[docs][joy] Build TS versions for Textarea component demos #36371
Conversation
Netlify deploy previewhttps://deploy-preview-36371--material-ui.netlify.app/ Bundle size report |
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 for the PR. I see you've changed label
to name
in all demos. What is the motivation behind this?
It's weird you don't get a TS error with label. Its not exposed as an acceptable attribute in TextareaProps.ts. Hence I changed it to name |
It's a HTML attribute, so we can revert it back to |
This test_types check might help you understand better why I implemented name before. We either need to include label in the acceptable attributes in TextareaProps.ts, remove the labels from all tsx demos or replace label with one of the available attributes. IMHO. Apologies my explanation wasn't as clear before |
Ah, I see it now. Yes, in that case, I agree with |
All tests passing.....lezzzz goooooooo 🎸 |
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.
Brilliant!
Ill get onto the other components 🕺🏻 |
Part of #36367