You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so you can see from the image that when I use DropdownMenu.Item with DropdownMenu.ItemIcon directly, it works. When I wrapped it inside a custom component like <FrontMenuItem>, it stops working.
What am I missing here, thanks :)
The text was updated successfully, but these errors were encountered:
Please see the docs on creating custom components.
Zeego is doing magic here and will not work on native if you wrap components without explicitly passing props in render. Zeego is extracting the props from your components and passing them to the native side through some tricks, and that’s why it works the way it does. As a result, this is the one limitation…
which is to say, this is expected, but there’s always a way to make it work somehow.
Hi, thanks for this great lib!
I have a question :)
the outcome is this:

so you can see from the image that when I use
DropdownMenu.Item
withDropdownMenu.ItemIcon
directly, it works. When I wrapped it inside a custom component like<FrontMenuItem>
, it stops working.What am I missing here, thanks :)
The text was updated successfully, but these errors were encountered: