UNPKG

expo-router

Version:

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

14 lines (13 loc) • 408 B
import * as React from 'react'; type Props = { children: React.ReactNode; }; export declare const SingleNavigatorContext: React.Context<{ register(key: string): void; unregister(key: string): void; } | undefined>; /** * Component which ensures that there's only one navigator nested under it. */ export declare function EnsureSingleNavigator({ children }: Props): React.JSX.Element; export {};