Add: - app/(application)/(user)/job/ Event: Fix: - app/(application)/(user)/event/(tabs)/_layout.tsx : penggunaan icon terpusat Collaboration: Fix: - app/(application)/(user)/collaboration/(tabs)/_layout.tsx : penggunaan icon terpusat Home Fix: - Penambahan onPres ke job Component Add: - Icon: home, status # No Issue
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import { IconHome, IconStatus } from "@/components/_Icon";
|
|
import { TabsStyles } from "@/styles/tabs-styles";
|
|
import { FontAwesome5, Ionicons } from "@expo/vector-icons";
|
|
import { Tabs } from "expo-router";
|
|
|
|
export default function EventTabsLayout() {
|
|
return (
|
|
<Tabs
|
|
screenOptions={TabsStyles}
|
|
>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: "Beranda",
|
|
tabBarIcon: ({ color }) => (
|
|
<IconHome color={color}/>
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="status"
|
|
options={{
|
|
title: "Status",
|
|
tabBarIcon: ({ color }) => (
|
|
<IconStatus color={color}/>
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="contribution"
|
|
options={{
|
|
title: "Kontribusi",
|
|
tabBarIcon: ({ color }) => (
|
|
<Ionicons size={20} name="extension-puzzle" color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="history"
|
|
options={{
|
|
title: "Riwayat",
|
|
tabBarIcon: ({ color }) => (
|
|
<FontAwesome5 size={20} name="history" color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|
|
|