|
|
|
@ -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> |
|
|
|
|
) |
|
|
|
|