Add : - collaboration page - collaboration component Component Fix: - Base box : tambah props background # No Issue
38 lines
937 B
TypeScript
38 lines
937 B
TypeScript
import { TabsStyles } from "@/styles/tabs-styles";
|
|
import { Ionicons } from "@expo/vector-icons";
|
|
import { Tabs } from "expo-router";
|
|
|
|
export default function CollaborationTabsLayout() {
|
|
return (
|
|
<Tabs screenOptions={TabsStyles}>
|
|
<Tabs.Screen
|
|
name="index"
|
|
options={{
|
|
title: "Beranda",
|
|
tabBarIcon: ({ color }) => (
|
|
<Ionicons size={20} name="home" color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="participans"
|
|
options={{
|
|
title: "Participans",
|
|
tabBarIcon: ({ color }) => (
|
|
<Ionicons size={20} name="people" color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
<Tabs.Screen
|
|
name="group"
|
|
options={{
|
|
title: "Group",
|
|
tabBarIcon: ({ color }) => (
|
|
<Ionicons size={20} name="chatbox-ellipses" color={color} />
|
|
),
|
|
}}
|
|
/>
|
|
</Tabs>
|
|
);
|
|
}
|