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
Menu
component is not type-safe (unlikeSelect
, for example):onSelect
inMenu.Root
si not coupled with the values inMenu.Item
whatsoeverMenu.Item
does not accept anonSelect
prop, which would be another approach to fixing this (so useonSelect
per 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