kanzitelli / rnn-screens

🃏 Predictable Navigation for React Native.
MIT License
27 stars 3 forks source link

how to apply providers to specific screens only ? #12

Open jbrodriguez opened 1 year ago

jbrodriguez commented 1 year ago

hi, currently generateRNNScreens accepts an array of providers that will be applied to all screens defined in the config.

how can we apply the providers only to specific screens, not to all of them ?

Also, how would that work in the case of using something like BottomTabs, i'd prefer to apply providers only to the "root", not to each tab