bs-react-navigation icon indicating copy to clipboard operation
bs-react-navigation copied to clipboard

Extract "navigation" from Stack

Open grabbou opened this issue 7 years ago • 3 comments

We should be able to easily share "navigation" prop between different navigators.

grabbou avatar Jan 16 '19 13:01 grabbou

But remember that not all the navigator have the same shape.

czystyl avatar Feb 04 '19 13:02 czystyl

Yes, I am thinking of the api:

StackNavigator.Navigation.(push|pop|whatever)(navigation)

where "navigation" is of ReactNavigation.Native.NavigationProp or something.

grabbou avatar Feb 04 '19 13:02 grabbou

Yep, and could be done with #22.

czystyl avatar Feb 04 '19 20:02 czystyl