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
Component3 displays a collection of items
Let's say < ListItem />
In the ListItem component I render a view inside a TouchableHighlight.
The goal is to pop a < ItemDetailsView > to the router when user taps on one item inside the list
I assume I have to pass the router down from the parent to the nested children but I can't figure out how.
Thanks for your help
The text was updated successfully, but these errors were encountered:
I created this gist: https://gist.github.com/folivi/1c3cf4a8754335860ccede337d9eedfa
I followed the tweeter example but looks like the function this.showEvent is not passed from the Events components to the eventListItem. Strange thing is when I pass a string, the child component recieves it.
Hope you can help me
thanks
Hey guys,
Can someone help achieve this?
I have the implementation below.
It's pretty simple:
-in my index.ios.js file:
Here goes the component 2
Component3 displays a collection of items
Let's say < ListItem />
In the ListItem component I render a view inside a TouchableHighlight.
The goal is to pop a < ItemDetailsView > to the router when user taps on one item inside the list
I assume I have to pass the router down from the parent to the nested children but I can't figure out how.
Thanks for your help
The text was updated successfully, but these errors were encountered: