import { useLayoutEffect } from "react"; import { Image, View } from "react-native"; import stylesheet from "./stylesheet"; import { NCoreUIKitLocalize, NCoreUIKitTheme, PageContainer, RowCard, 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>(); useLayoutEffect(() => { navigation.setOptions({ headerShown: false }); }, []); return {localize("ncore-design-system")} {localize("ui-kit-library")} {localize("ncore-about")} {localize("version")}: {packageJSON.version} { return ; }} onPress={() => { navigation.navigate("TextPage"); }} /> ; }; export default Home;