master
hamed 3 years ago
parent 6f8c0a9aa1
commit 6450a12f9b
  1. 18
      navigation.js

@ -32,21 +32,21 @@ function BottomTab(props) {
const {t} = useTranslation('translation', {keyPrefix: 'main'});
return (
<Tab.Navigator>
<Tab.Screen name={'Home'} component={Home} options={{
title: t('home')
<Tab.Navigator initialRouteName={'Home'}>
<Tab.Screen name={'Profile'} component={Profile} options={{
title: t('profile')
}} />
<Tab.Screen name={'Product'} component={Product} options={{
title: t('books')
<Tab.Screen name={'Exams'} component={Exams} options={{
title: t('exams')
}} />
<Tab.Screen name={'Videos'} component={Videos} options={{
title: t('videos')
}} />
<Tab.Screen name={'Exams'} component={Exams} options={{
title: t('exams')
<Tab.Screen name={'Product'} component={Product} options={{
title: t('books')
}} />
<Tab.Screen name={'Profile'} component={Profile} options={{
title: t('profile')
<Tab.Screen name={'Home'} component={Home} options={{
title: t('home')
}} />
</Tab.Navigator>
)

Loading…
Cancel
Save