UNPKG

expo-router

Version:

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

8 lines (7 loc) • 531 B
import type { Descriptor, ParamListBase, RouteProp } from '../../react-navigation/native'; import type { NativeStackNavigationOptions, NativeStackNavigationProp } from '../../react-navigation/native-stack'; export type NativeStackDescriptor = Descriptor<NativeStackNavigationOptions, NativeStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>; export type NativeStackDescriptorMap = { [key: string]: NativeStackDescriptor; }; export declare const DescriptorsContext: import("react").Context<NativeStackDescriptorMap>;