Replies: 1 comment
-
|
We're moving in the direction of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One thing I noticed is that the Ark UI
Menucomponent is not type-safe (unlikeSelect, for example):onSelectinMenu.Rootsi not coupled with the values inMenu.ItemwhatsoeverMenu.Itemdoes not accept anonSelectprop, which would be another approach to fixing this (so useonSelectper menu item isntead of on the root).Does anyone on the Ark team have thoughts on this? I love the strong type polymorphism we get in
Select(and other components that use collections) but foundMenu's API to be quite lacking from this perspective and would love to see it improvedThanks!
Beta Was this translation helpful? Give feedback.
All reactions