Déconnexion permise
This commit is contained in:
@ -2,10 +2,18 @@ import { Tabs } from 'expo-router'
|
||||
import React from 'react'
|
||||
import { FontAwesome6, MaterialIcons } from '@expo/vector-icons'
|
||||
import TabBar from '@/components/ui/TabBar'
|
||||
import TabsHeader from '@/components/ui/TabsHeader'
|
||||
|
||||
export default function TabLayout() {
|
||||
return (
|
||||
<Tabs tabBar={(props) => <TabBar {...props} />}>
|
||||
<>
|
||||
<Tabs
|
||||
tabBar={(props) => <TabBar {...props} />}
|
||||
screenOptions={{
|
||||
tabBarHideOnKeyboard: true,
|
||||
header: (props) => <TabsHeader navProps={props} children={undefined} />,
|
||||
}}
|
||||
>
|
||||
<Tabs.Screen
|
||||
name="index"
|
||||
options={{
|
||||
@ -47,5 +55,6 @@ export default function TabLayout() {
|
||||
}}
|
||||
/>
|
||||
</Tabs>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user