[Button][material][docs] Add demo for preventing default on inaccessible elements in v6 #38581
Labels
component: button
This is the name of the generic UI component, not the React module!
component: ButtonBase
The React component.
on hold
There is a blocker, we need to wait
Related page
https://mui.com/material-ui/react-button/
Issue description
As v6 will use Base UI's
useButton
hook, there has to be a mention on the docs on the usage ofdefaultMuiPrevented
, used to preventkey-up
andkey-down
callbacks on inaccessible elements (reference).Context 🔦
This is on hold as the docs for v6 have yet to be created.
The text was updated successfully, but these errors were encountered: