mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
6a699302c8
Summary: The index alone isn't so useful; pass the route as well. (I am using this to implement componentWill/DidFocus in a library instead of onWill/DidFocus; #1153). Closes https://github.com/facebook/react-native/pull/1154 Github Author: James Ide <ide@jameside.com> @public Test Plan: Set up a navigator with a couple of scenes, and see that when onItemRef is called for each one, the route is passed in as the third argument.