{...other} would overwrites the ownerState #42545
Labels
component: button
This is the name of the generic UI component, not the React module!
status: waiting for author
Issue with insufficient information
Developer can write code like
<Button ownerState={{}}></Button>
I believe this is not expected, however, it can work but without any
ownerState
pass to the Buttonthe main reason is all other props pass to the component before validation
material-ui/packages/mui-docs/src/InfoCard/InfoCard.tsx
Line 64 in 3e9b631
Search keywords:
The text was updated successfully, but these errors were encountered: