-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[ListSubheader] Reduce specificity of typescript type #17715
Conversation
No bundle size changes comparing 6b9ecbe...f4cd998 |
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.
I would rather see this fixed by using OverridableComponent
. This PR will allow excess props otherwise.
I think the issue here is the previous |
sorry for not getting back at this 😞 as a heads up - I will try to fix it on Friday |
@eps1lon could you recheck this? |
@sakulstra Thanks for sticking with it! |
I looked trough the other components and most of them just have a less specific type (the one I used here as well).