expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
13 lines (12 loc) • 625 B
TypeScript
import * as React from 'react';
import type { NativeStackDescriptorMap, NativeStackNavigationConfig, NativeStackViewEmit, NativeStackViewState } from '../types';
type Props = {
state: NativeStackViewState;
descriptors: NativeStackDescriptorMap;
emit: NativeStackViewEmit;
isPreloaded: (key: string) => boolean;
isRemovalPrevented: (key: string) => boolean;
pop: (count: number, sourceRouteKey: string) => void;
} & NativeStackNavigationConfig;
export declare function NativeStackView({ state, descriptors, isPreloaded, isRemovalPrevented: _isRemovalPrevented, }: Props): React.JSX.Element;
export {};