UNPKG

expo-router

Version:

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

9 lines (8 loc) • 422 B
import type { ComponentType } from 'react'; import type { LinkingConfigOptions } from '../getLinkingConfig'; import type { RequireContext } from '../types'; import type { RouterConfig } from './routerConfigContext'; export declare function useRouterConfig(context: RequireContext, linkingConfigOptions: LinkingConfigOptions, serverUrl?: string): { routerConfig: RouterConfig; rootComponent: ComponentType<any>; };