import { useLayoutEffect } from "react"; import { View } from "react-native"; import stylesheet from "./stylesheet"; import { NCoreUIKitLocalize, NCoreUIKitTheme, PageContainer, CodeViewer, Button, Header, 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 { ChevronRightIcon, ChevronLeftIcon } from "lucide-react-native"; const Implementation = () => { const { colors, spaces } = NCoreUIKitTheme.useContext(); const { localize } = NCoreUIKitLocalize.useContext(); const navigation = useNavigation>(); useLayoutEffect(() => { navigation.setOptions({ header: () =>
, headerShown: true }); }, []); const exampleCode = `import { type NCoreUIKitConfig, setupNCoreUIKit, Host } from "ncore-ui-kit"; // Kendi temanızı ve dil dosyanızı dahil edin import defaultLocaleJSON from "./variants/locales/default.json"; import defaultThemeJSON from "./variants/themes/default.json"; // NCore konfigürasyonunu oluşturun const NCoreConfig: NCoreUIKitConfig = { projectThemes: defaultThemeJSON as NCoreUIKit.Palette, initialSelectedGapPropagation: "spacious", projectLocales: defaultLocaleJSON, initialSelectedPalette: "nibgat", initialSelectedTheme: "light" }; // NCoreUIKitBase nesnesini ayağa kaldırın const NCoreUIKitBase = setupNCoreUIKit(NCoreConfig); const App = () => { return {/* Sayfalarınız veya Navigasyon yapınız burada yer almalı */} ; }; export default App;`; return {localize("implementation-desc")} {localize("your-project-main-directory")}/src/index.tsx