UNPKG

expo-router

Version:

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

9 lines (8 loc) • 345 B
import type { NavigationState } from '../routers'; type InitialStateOptions = { routeNames: string[]; initialRouteName?: string; parentChain: string; }; export declare function createInitialState<State extends NavigationState = NavigationState>({ routeNames, initialRouteName, parentChain, }: InitialStateOptions): State; export {};