[ButtonBase] The LinkComponent prop does not take effect when set in MenuItem #28335
Labels
component: ButtonBase
The React component.
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
Uh oh!
There was an error while loading. Please reload this page.
I already opened a ticket about this specific bug but it was quickly discarded without any serious investigation, see #28251.
The bug is that
MuiListItemButton
andMuiMenuItem
(subclasses ofMuiButtonBase
) are not inheriting theLinkComponent
prop ofMuiButtonBase
and this despite thedoc
clearly stating that both of these components should inherit fromMuiButtonBse
, see:Could you kindly investigate this issue?
CodeSandbox: https://codesandbox.io/s/mui-28251-28335-p7krh
The text was updated successfully, but these errors were encountered: