feature event
deskripsi: - resourcing component event
This commit is contained in:
@@ -9,7 +9,7 @@ import TabSection from "./tabSection";
|
||||
import { tabsHome } from "./tabsList";
|
||||
import Home_FeatureSection from "./topFeatureSection";
|
||||
|
||||
export default function NewHomeView() {
|
||||
export default function UiHome() {
|
||||
const navigation = useNavigation();
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -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]}
|
||||
|
||||
@@ -9,7 +9,7 @@ export default function Home_FeatureSection() {
|
||||
<View style={stylesHome.gridContainer}>
|
||||
<TouchableOpacity
|
||||
style={stylesHome.gridItem}
|
||||
onPress={() => router.push("/(application)/event")}
|
||||
onPress={() => router.push("/(application)/event/(tabs)")}
|
||||
>
|
||||
<Ionicons name="analytics" size={48} color="white" />
|
||||
<Text style={stylesHome.gridLabel}>Event</Text>
|
||||
|
||||
Reference in New Issue
Block a user