UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

20 lines 715 B
import React, { type PropsWithChildren, type ComponentType } from 'react'; import { ExpoLinkingOptions } from './getLinkingConfig'; import { RequireContext } from './types'; export type ExpoRootProps = { context: RequireContext; location?: URL | string; wrapper?: ComponentType<PropsWithChildren>; linking?: Partial<ExpoLinkingOptions>; }; export type NativeIntent = { redirectSystemPath?: (event: { path: string | null; initial: boolean; }) => Promise<string | null | undefined> | string | null | undefined; }; /** * @hidden */ export declare function ExpoRoot({ wrapper: ParentWrapper, ...props }: ExpoRootProps): React.JSX.Element; //# sourceMappingURL=ExpoRoot.d.ts.map