1 | import { NavigationContainerProps, NavigationContainerRef } from '@react-navigation/core';
|
2 | import * as React from 'react';
|
3 | import type { DocumentTitleOptions, LinkingOptions, Theme } from './types';
|
4 | declare global {
|
5 | var REACT_NAVIGATION_DEVTOOLS: WeakMap<NavigationContainerRef<any>, {
|
6 | readonly linking: LinkingOptions<any>;
|
7 | }>;
|
8 | }
|
9 | declare type Props<ParamList extends {}> = NavigationContainerProps & {
|
10 | theme?: Theme;
|
11 | linking?: LinkingOptions<ParamList>;
|
12 | fallback?: React.ReactNode;
|
13 | documentTitle?: DocumentTitleOptions;
|
14 | onReady?: () => void;
|
15 | };
|
16 | declare const NavigationContainer: <RootParamList extends {} = ReactNavigation.RootParamList>(props: NavigationContainerProps & {
|
17 | theme?: Theme | undefined;
|
18 | linking?: LinkingOptions<RootParamList> | undefined;
|
19 | fallback?: React.ReactNode;
|
20 | documentTitle?: DocumentTitleOptions | undefined;
|
21 | onReady?: (() => void) | undefined;
|
22 | } & {
|
23 | ref?: React.Ref<NavigationContainerRef<RootParamList>> | undefined;
|
24 | }) => React.ReactElement;
|
25 | export default NavigationContainer;
|