We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the example from https://material-ui.com/demos/menus/#menulist-composition with typescript does not work.
Error :
Type '({ TransitionProps }: { TransitionProps: any; }) => Element' is not assignable to type '() => ReactElement<any>'
Property 'transition' does not exist on type 'IntrinsicAttributes & PopperProps & { children?: ReactNode; }'.
Should compile without issue
Compile with issue
Link: Error 1 : https://codesandbox.io/s/74w0o3x7ox line 56 of Menu.tsx Error 2 : https://codesandbox.io/s/l528yv8ko7 line 56 of Menu.tsx
Just trying to use the lib with typescript ;)
The text was updated successfully, but these errors were encountered:
Fixed by #12161
Sorry, something went wrong.
No branches or pull requests
Using the example from https://material-ui.com/demos/menus/#menulist-composition with typescript does not work.
Error :
Type '({ TransitionProps }: { TransitionProps: any; }) => Element' is not assignable to type '() => ReactElement<any>'
Property 'transition' does not exist on type 'IntrinsicAttributes & PopperProps & { children?: ReactNode; }'.
Expected Behavior
Should compile without issue
Current Behavior
Compile with issue
Steps to Reproduce
Link:
Error 1 : https://codesandbox.io/s/74w0o3x7ox line 56 of Menu.tsx
Error 2 : https://codesandbox.io/s/l528yv8ko7 line 56 of Menu.tsx
Context
Just trying to use the lib with typescript ;)
Your Environment
The text was updated successfully, but these errors were encountered: