Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

How can I create a drawer where I can change the text according to user settings like language in react native?

$
0
0

I used the Galio framework to start building an App and it creates a drawer with the following function imported by App.js:

const GalioApp = createDrawerNavigator(screens, options);

I want to for example be able to load the language the user is using from the memory and change the drawerLabels accordingly. Like options is in a constant object then how to I get the language from async storage and render it accordingly.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>