20 lines
715 B
TypeScript
20 lines
715 B
TypeScript
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
|