This commit is contained in:
@@ -23,6 +23,7 @@ import type { DeliveryTabParamList } from "./types";
|
||||
import DashboardScreen from "../screens/delivery/DashboardScreen";
|
||||
import StatsScreen from "../screens/delivery/StatsScreen";
|
||||
import AlertsScreen from "../screens/delivery/AlertsScreen";
|
||||
import RatingsScreen from "../screens/delivery/RatingsScreen";
|
||||
|
||||
const Tab = createBottomTabNavigator<DeliveryTabParamList>();
|
||||
|
||||
@@ -201,6 +202,20 @@ export default function DeliveryNavigator() {
|
||||
),
|
||||
}}
|
||||
/>
|
||||
<Tab.Screen
|
||||
name="Ratings"
|
||||
component={RatingsScreen}
|
||||
options={{
|
||||
title: "Mes avis",
|
||||
tabBarIcon: ({ color, size }) => (
|
||||
<Ionicons
|
||||
name="star-outline"
|
||||
size={size}
|
||||
color={color}
|
||||
/>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</Tab.Navigator>
|
||||
|
||||
{/* Modal notifications */}
|
||||
|
||||
@@ -36,4 +36,5 @@ export type DeliveryTabParamList = {
|
||||
Dashboard: undefined;
|
||||
Stats: undefined;
|
||||
Alerts: undefined;
|
||||
Ratings: undefined;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user