How to correctly extend Material-UI component with typescript #21166
Labels
component: tabs
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
typescript
Current Behavior 😯
I want to extend material-ui components, ex. just want to wrap Tabs with more props but seems like
onChange
type is not correcthttps://codesandbox.io/s/zealous-agnesi-g5tqs?file=/src/App.tsx (scroll down and you will see error at onChange)
Expected Behavior 🤔
onChange
should workSteps to Reproduce 🕹
See the codesandbox link above
The text was updated successfully, but these errors were encountered: