[material-ui][InputBase] Add sx type to input , root slot#39569
[material-ui][InputBase] Add sx type to input , root slot#39569ZeeshanTamboli merged 5 commits intomui:masterfrom
sx type to input , root slot#39569Conversation
sx type to slotProps
Netlify deploy previewBundle size report |
sx type to slotPropssx type to input , root slot
ZeeshanTamboli
left a comment
There was a problem hiding this comment.
I believe this change could be applied to all components with slots and slotProps. Did you have a specific use case in mind for InputBase that prompted this fix?
Not specific use case, i stumbled upon this TS error while investigating one of the issues. Couldn't recall the exact issue |
What do you think better action plan for this, fix all ts errors in 1 PR or individual PR for each component ? |
Let's not do this now. There will be lot of PRs. This is fine for now. We can tackle others when someone needs it. |
sx type to input , root slotsx type to input , root slot
Styles applied through
sxprop are appplied to elements butsxtype was not added. This PR addssxtypeBefore : https://codesandbox.io/s/nice-james-yqp8vr?file=/src/Demo.tsx
After: https://codesandbox.io/s/jovial-snyder-ww9dd5?file=/src/Demo.tsx