expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
8 lines (7 loc) • 332 B
TypeScript
import * as React from 'react';
import type { NavigationState, PartialState } from '../routers';
export declare const NavigationStateContext: React.Context<{
isDefault?: true;
state?: NavigationState | PartialState<NavigationState>;
addOptionsGetter?: (key: string, getter: () => object | undefined | null) => void;
}>;