benevbright/react-navigation-collapsible

Example using StackNavigator

Closed this issue · 4 comments

Hey
Thanks for the library
I can't find an example using StackNavigator

My code looks like this:

const MainNavigator = StackNavigator(
    {
        SCREENA: {
            screen: FeedPage,
            navigationOptions: ({navigation}) => {
                ...
            },
        },

How can I wrap the HOC here?

Hi, Would you check the /example forder? https://github.com/benevbright/react-navigation-collapsible/tree/master/example

It's using StackNavigator (please keep it in mind it's using v3)

Thanks for the quick reply
Do you still support react-navigation 1.x ?

I'm afraid to say 'no', it's only supporting react-navigation v3.

ok thanks :)