UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

26 lines 1.28 kB
/** * This file is copied from the react-navigation repo: * https://github.com/react-navigation/react-navigation/blob/%40react-navigation/core%407.1.2/packages/core/src/getPathFromState.tsx * * Please refrain from making changes to this file, as it will make merging updates from the upstream harder. * All modifications except formatting should be marked with `// @modified` comment. */ import { type NavigationContainerProps, type NavigationContainerRef } from '@react-navigation/core'; import * as React from 'react'; import { type DocumentTitleOptions, type LinkingOptions, type LocaleDirection } from '@react-navigation/native'; declare global { var REACT_NAVIGATION_DEVTOOLS: WeakMap<NavigationContainerRef<any>, { readonly linking: LinkingOptions<any>; }>; } type Props<ParamList extends {}> = NavigationContainerProps & { direction?: LocaleDirection; linking?: LinkingOptions<ParamList>; fallback?: React.ReactNode; documentTitle?: DocumentTitleOptions; }; export declare const NavigationContainer: <RootParamList extends {} = ReactNavigation.RootParamList>(props: Props<RootParamList> & { ref?: React.Ref<NavigationContainerRef<RootParamList>>; }) => React.ReactElement; export {}; //# sourceMappingURL=NavigationContainer.d.ts.map