[Switch] inputProps should support data-* #25062
Labels
component: switch
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Current Behavior 😯
TypeScript will complain
inputProps
doesn't supportdata-*
Expected Behavior 🤔
data-*
(or more) should be added toinputProps
.Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-forked-rdv97?file=/demo.tsx
The text was updated successfully, but these errors were encountered: