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'}); const {t} = useTranslation('translation', {keyPrefix: 'main'});
return ( return (
<Tab.Navigator> <Tab.Navigator initialRouteName={'Home'}>
<Tab.Screen name={'Home'} component={Home} options={{ <Tab.Screen name={'Profile'} component={Profile} options={{
title: t('home') title: t('profile')
}} /> }} />
<Tab.Screen name={'Product'} component={Product} options={{ <Tab.Screen name={'Exams'} component={Exams} options={{
title: t('books') title: t('exams')
}} /> }} />
<Tab.Screen name={'Videos'} component={Videos} options={{ <Tab.Screen name={'Videos'} component={Videos} options={{
title: t('videos') title: t('videos')
}} /> }} />
<Tab.Screen name={'Exams'} component={Exams} options={{ <Tab.Screen name={'Product'} component={Product} options={{
title: t('exams') title: t('books')
}} /> }} />
<Tab.Screen name={'Profile'} component={Profile} options={{ <Tab.Screen name={'Home'} component={Home} options={{
title: t('profile') title: t('home')
}} /> }} />
</Tab.Navigator> </Tab.Navigator>
) )

Loading…
Cancel
Save