import { useLayoutEffect, useState } from "react"; import { View } from "react-native"; import stylesheet from "./stylesheet"; import { NCoreUIKitLocalize, PageContainer, TimeSelector, 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"; const TimeSelectorPage = () => { const { localize } = NCoreUIKitLocalize.useContext(); const navigation = useNavigation>(); const [ , setIsSheetContentReady ] = useState(false); useLayoutEffect(() => { navigation.setOptions({ header: () =>
, headerShown: true }); }, []); return {localize("timeSelector-desc")} {localize("components-timeSelector")} {}} selectObject={() => {}} pickerType="time" variant="single" /> ; }; export default TimeSelectorPage;