test changeChantierStatus

This commit is contained in:
tuanvu
2025-12-11 11:07:15 +01:00
parent 984ef3ab3d
commit ced2d15e05
2 changed files with 23 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ import ListMateriel from './gestionnaire_ressource';
import Home from './home';
import MapScreen from './mapScreen';
import AntDesign from '@expo/vector-icons/AntDesign';
const Tabs = createBottomTabNavigator();
export default function TabLayout() {
@@ -61,8 +63,17 @@ export default function TabLayout() {
tabBarIcon: ({ color }) => <IconSymbol size={28} name="paperplane.fill" color={color} />,
}}
>
</Tabs.Screen>
<Tabs.Screen
name="ajouterChantier"
component={ListMateriel}
options={{
title: 'Ajouter',
tabBarIcon: ({ color }) => (
<AntDesign name="plus" size={24} color="black" />
),
}}
/>
</Tabs.Navigator>
);