-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[v4 typescript] <MenuItemLink>
seems now have missing placeholder prop
#9507
Comments
Thanks for the feedback. I can't reproduce the problem locally. Can you give more information about how you built the repro in Stackblitz? I noticed that your stackblitz uses React 17 but |
@fzaninotto , I noticed the same issue in my project as soon as I updated "@types/react": "^18.2.42" -> "@types/react": "^18.2.43" After I added |
So this seems to be a react types error. I invite you to open an issue in their repository. |
Hi @fzaninotto Adding a backlink to the PR that causes this issue DefinitelyTyped/DefinitelyTyped#67170 Shall we consider a quick fix by omitting the
|
@smeng9 Seems a sensible solution. Would you like to open a PR about it? |
What you were expecting:
I expect when I follow the tutorial there would be no type error https://marmelab.com/react-admin/Buttons.html#menuitemlink
What happened instead:
There is a type related error
Steps to reproduce:
Go to the example below
Run $ yarn type-check and look for errors in the src/Layout.tsx file
Related code:
https://stackblitz.com/edit/github-cubnvw?file=src%2FLayout.tsx
Other information:
Environment
The text was updated successfully, but these errors were encountered: