import { Ionicons } from "@expo/vector-icons";
import { router } from "expo-router";
import { Text, TouchableOpacity, View } from "react-native";
import { stylesHome } from "./homeViewStyle";
export default function Home_FeatureSection() {
const listFeature = [
{
name: "Event",
icon: ,
onPress: () => router.push("/(application)/(user)/event/(tabs)"),
status: "active",
},
{
name: "Collaboration",
icon: ,
onPress: () => router.push("/(application)/(user)/collaboration/(tabs)"),
status: "active",
},
{
name: "Voting",
icon: ,
onPress: () => router.push("/(application)/(user)/voting/(tabs)"),
status: "active",
},
{
name: "Crowdfunding",
icon: ,
onPress: () => router.push("/(application)/(user)/crowdfunding"),
status: "active",
},
];
return (
<>
{listFeature.map((item, index) => (
{item.icon}
{item.name}
))}
>
);
}