UNPKG

861 BTypeScriptView Raw
1import { type NavigationContainerProps, type NavigationContainerRef } from '@react-navigation/core';
2import * as React from 'react';
3import type { DocumentTitleOptions, LinkingOptions, LocaleDirection } from './types';
4declare global {
5 var REACT_NAVIGATION_DEVTOOLS: WeakMap<NavigationContainerRef<any>, {
6 readonly linking: LinkingOptions<any>;
7 }>;
8}
9type Props<ParamList extends {}> = NavigationContainerProps & {
10 direction?: LocaleDirection;
11 linking?: LinkingOptions<ParamList>;
12 fallback?: React.ReactNode;
13 documentTitle?: DocumentTitleOptions;
14};
15export declare const NavigationContainer: <RootParamList extends {} = ReactNavigation.RootParamList>(props: Props<RootParamList> & {
16 ref?: React.Ref<NavigationContainerRef<RootParamList>>;
17}) => React.ReactElement;
18export {};
19//# sourceMappingURL=NavigationContainer.d.ts.map
\No newline at end of file