-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imports are not working / @mui/base not working anymore #37376
Comments
@hbjORbj Thanks, I understand.
The compiler highlights
|
I do not see TS error in the codesandbox you provided. |
@Stophface, these fields were removed from |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://mui.com/material-ui/react-autocomplete/#useautocomplete (taken from here: https://mui.com/material-ui/react-autocomplete/#useautocomplete)
https://codesandbox.io/s/vfq40l?file=/demo.tsx (taken from here: https://mui.com/base/react-select/#hooks)
Current behavior 😯
I am trying to work with @mui/base in a TypeScript project, which is breaking on me. These are the versions I installed
However, as soon as I try to import something I get various error messages
This highlights
getOptionProps, getOptionState
with the messageSo the examples in the documentation do not work anymore... Why is that?
Expected behavior 🤔
I expect the imports to work as stated in the documentation as well as the code.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Working with firefox
The text was updated successfully, but these errors were encountered: