UNPKG

expo-router

Version:

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

11 lines (10 loc) • 436 B
import type { NativeStackNavigationOptions } from '../react-navigation/native-stack'; /** * Helper to determine if a given screen should be treated as a modal-type presentation * * @param options - The navigation options. * @returns Whether the screen should be treated as a modal-type presentation. * * @internal */ export declare function isModalPresentation(options: NativeStackNavigationOptions | undefined | null): boolean;