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
{{ message }}
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.
Globally overriding it on NavigationBar doesn't seem right to me. Better to do it per-instance for when you have multiple nav bars or to be able to create a new class that composes with NavBar and uses your BackButton. Wanting to configure all back buttons within a stack seems reasonable though.
skevy
changed the title
[Enhancement] Maybe allow renderBackButton in the navigationBar config
Maybe allow renderBackButton in the navigationBar config
Aug 24, 2016
renderBackButton
would let us customize the back button UI and then i can just pass that todefaultRouteConfig
.Usually an app would have mulitple
StackNavigations
so i would still need to addrenderBackButton
to all the stacknavigatorsdefaultRouteConfigs
.One can also override the
BackButton
component globally like this:It's a trade off and idk what's the best api here. cc @brentvatne @skevy @ide
The text was updated successfully, but these errors were encountered: