[docs] component prop does not exists in the Button component, at least not recognized by TS #37316
Closed
1 task done
Labels
component: button
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
support: docs-feedback
Feedback from documentation page
Duplicates
Related page
https://mui.com/material-ui/api/button/
Kind of issue
Missing information
Issue description
I am developing a upload button with MUI and the code works but TS complains. Here is the code:
Here is what I can see in the VSCode:
When I try to use intellisense I cannot find
component
and this error only is in VSCode. When I run my project it just works:Context 🔦
And here is more:
The text was updated successfully, but these errors were encountered: