[LoadingButton] does not inherit custom variant override types #30715
Labels
bug 🐛
Something doesn't work
component: LoadingButton
The React component.
good first issue
Great for first contributions. Enable to learn the contribution process.
Duplicates
Latest version
Current behavior 😯
LoadingButton properly renders the styles set in
MuiButton.styleOverrides
, however the console throws anInvalid Prop Type Value
error. I'd guess that this is also aExpected behavior 🤔
I don't think this used to throw an error? Regardless, this should be an acceptable usage no? Or maybe there needs to be a
LoadingButtonPropsVariantOverrides
interface?Steps to reproduce 🕹
ButtonPropsVariantOverrides
interfaceContext 🔦
This is an issue when needing more than the supplied variants -- at least for components that inherit from an override-able source.
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: