feature event

deskripsi:
- resourcing component event
This commit is contained in:
2025-06-30 16:41:17 +08:00
parent 5577ef5d1e
commit d58304a146
14 changed files with 177 additions and 29 deletions

View File

@@ -1,16 +1,11 @@
import { ITabs } from "@/components/_Interface/types";
import { ICustomTab, ITabs } from "@/components/_Interface/types";
import { Styles } from "@/styles/global-styles";
import { Ionicons } from "@expo/vector-icons";
import { router } from "expo-router";
import React from "react";
import { Text, TouchableOpacity, View } from "react-native";
interface ICustomTab {
icon: string;
label: string;
isActive: boolean;
onPress: () => void;
}
const CustomTab = ({ icon, label, isActive, onPress }: ICustomTab) => (
<TouchableOpacity
style={[Styles.tabItem, isActive && Styles.activeTab]}