Feat: ajout de la page d'ajout d'un nouvel artisant
This commit is contained in:
@@ -11,6 +11,7 @@ import Home from './home';
|
||||
import MapScreen from './mapScreen';
|
||||
import AddChantier from './addChantier';
|
||||
import AddRessource from './addRessource';
|
||||
import AddArtisant from './addArtisant';
|
||||
import AntDesign from '@expo/vector-icons/AntDesign';
|
||||
import { UserProvider } from '../ContextUser';
|
||||
import { ChantierProvider } from '../ContextChantier';
|
||||
@@ -81,7 +82,18 @@ export default function TabLayout() {
|
||||
name="addRessource"
|
||||
component={AddRessource}
|
||||
options={{
|
||||
title: 'Ajouter',
|
||||
title: 'Ressources',
|
||||
tabBarIcon: ({ color }) => (
|
||||
<AntDesign name="plus" size={24} color={color} />
|
||||
),
|
||||
}}
|
||||
/>
|
||||
|
||||
<Tabs.Screen
|
||||
name="addArtisant"
|
||||
component={AddArtisant}
|
||||
options={{
|
||||
title: 'Artisants',
|
||||
tabBarIcon: ({ color }) => (
|
||||
<AntDesign name="plus" size={24} color={color} />
|
||||
),
|
||||
@@ -89,7 +101,6 @@ export default function TabLayout() {
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</Tabs.Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user