import { useEffect, useLayoutEffect } from "react"; import { Image, View } from "react-native"; import stylesheet from "./stylesheet"; import { NCoreUIKitLocalize, NCoreUIKitTheme, PaletteSwitcher, NCoreUIKitMenu, PageContainer, ThemeSwitcher, AvatarGroup, RowCard, Button, Avatar, Text } from "ncore-ui-kit"; import { useNavigation } from "@react-navigation/native"; import type RootStackParamList from "../../navigation/type"; import type { NativeStackNavigationProp } from "@react-navigation/native-stack"; import { ChevronRight } from "lucide-react-native"; import packageJSON from "../../../../package.json"; const Home = () => { const { colors, spaces } = NCoreUIKitTheme.useContext(); const { localize } = NCoreUIKitLocalize.useContext(); const navigation = useNavigation>(); useEffect(() => { NCoreUIKitMenu.load({ buttons: [{ title: "Ana Sayfa" }], id: "test" }); }, []); useLayoutEffect(() => { navigation.setOptions({ headerShown: false }); }, []); return