UNPKG

@redshank/native-router

Version:

@redshank/native-router is a file-based router for React Native CLI

15 lines 557 B
import type { LinkingOptions } from '@react-navigation/native'; import type { RouteNode } from '../Route'; export type Screen = string | { path: string; screens: Record<string, Screen>; _route?: RouteNode; initialRouteName?: string; }; export declare const getLinkingConfig: (route: RouteNode) => LinkingOptions<any>; export declare const stateCache: Map<string, any>; export declare function getConfig(route: RouteNode): { initialRouteName?: string; screens: Record<string, Screen>; }; //# sourceMappingURL=getLinkingConfig.d.ts.map