bonjour -> ouvriers
This commit is contained in:
@@ -7,11 +7,13 @@ import { HapticTab } from '@/components/haptic-tab';
|
||||
import { IconSymbol } from '@/components/ui/icon-symbol';
|
||||
import { Colors } from '@/constants/theme';
|
||||
import { useColorScheme } from '@/hooks/use-color-scheme';
|
||||
import BonjourScreen from './bonjourFL';
|
||||
import AddChantier from './addChantier';
|
||||
import GestionOuvrier from './gestion_ouvrier';
|
||||
import ListMateriel from './gestionnaire_ressource';
|
||||
import Home from './home';
|
||||
import MapScreen from './mapScreen';
|
||||
|
||||
|
||||
import AntDesign from '@expo/vector-icons/AntDesign';
|
||||
|
||||
const Tabs = createBottomTabNavigator();
|
||||
@@ -48,10 +50,10 @@ export default function TabLayout() {
|
||||
}}
|
||||
/>
|
||||
<Tabs.Screen
|
||||
name="bonjourFL"
|
||||
component={BonjourScreen}
|
||||
name="gestionnaire_ouvrier"
|
||||
component={GestionOuvrier}
|
||||
options={{
|
||||
title: 'Bonjour',
|
||||
title: 'Ouvriers',
|
||||
tabBarIcon: ({ color }) => <IconSymbol size={28} name="person.fill" color={color} />,
|
||||
}}
|
||||
/>
|
||||
@@ -65,13 +67,11 @@ export default function TabLayout() {
|
||||
>
|
||||
</Tabs.Screen>
|
||||
<Tabs.Screen
|
||||
name="ajouterChantier"
|
||||
component={ListMateriel}
|
||||
name="addChantier"
|
||||
component={AddChantier}
|
||||
options={{
|
||||
title: 'Ajouter',
|
||||
tabBarIcon: ({ color }) => (
|
||||
<AntDesign name="plus" size={24} color="black" />
|
||||
),
|
||||
tabBarIcon: ({ color }) => (<AntDesign name="plus" size={28} color={color} />),
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user