import { useLayoutEffect, useState, useRef } from "react"; import { View } from "react-native"; import stylesheet from "./stylesheet"; import { NCoreUIKitLocalize, NCoreUIKitTheme, DateTimeSheet, PageContainer, CodeViewer, Header, Button, 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 type { IBottomSheetRef } from "ncore-ui-kit"; const DateTimeSheetPage = () => { const { localize } = NCoreUIKitLocalize.useContext(); const { spaces } = NCoreUIKitTheme.useContext(); const navigation = useNavigation>(); const bottomSheetRef = useRef(null); const [ isActive, setIsActive ] = useState(false); useLayoutEffect(() => { navigation.setOptions({ header: () =>
, headerShown: true }); }, []); return {localize("dateTimeSheet-desc")} {localize("components-dateTimeSheet")}