UNPKG

expo-router

Version:

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

20 lines (19 loc) • 690 B
import { type PropsWithChildren, type ComponentType } from 'react'; import type { ExpoLinkingOptions } from './getLinkingConfig'; import type { 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): import("react").JSX.Element;