-
Notifications
You must be signed in to change notification settings - Fork 1.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
MegaMenu: type error in props model #6706
Comments
This issue has been reintroduced in 4.2.2. The type should be: |
+1 |
@tugcekucukoglu can this be reopened? |
+1 |
Good day!
The model passed to the MegaMenu component differs from the model specified in the menuItem type.
Here in the example, it is indicated as follows, in
items
it is shown as MenuItem[][], although based on the types, it should be:model?: MenuItem[] | undefined;
But in the example we encounter the following type
MenuItem[][]
I encountered this when I wanted to fill the array I needed through recursion.
MegaMenu
menuItem.d.ts
MegaMenu.d.ts
The text was updated successfully, but these errors were encountered: