-
Notifications
You must be signed in to change notification settings - Fork 75
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
render isn't recognized as one of the three MenuItem spec options #13
Comments
Also note that the MenuElement interface definition of
I was able to "fix" this (assuming it's not just a mistake on my part) locally by check for render in addition to label and icon, and having render of the item return a single DOM element, but this is just a quick-and-dirty fix. |
Why are you using 0.24 when there's a 1.0.1? That one should have docs that are consistent with its code. And yeah, using |
The code looked the same, but I'll give it a shot. |
Nope, that didn't work (despite following the documentation). I hadn't noticed the experimental nature of this repository, though, so we'll just clone and work on our own customized implementation. Thanks. |
The docs above indicate that defining either a label, an icon, or a render method should be sufficient for a MenuItem. And yet after upgrading from 0.21 to 0.24 all our renderable menu items are now resulting in an error:
I didn't see anything in the changelog indicating this new behavior, but I'm surprised nobody has reported it before. Is this a regression?
The text was updated successfully, but these errors were encountered: