UNPKG

expo-router

Version:

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

5 lines (4 loc) • 213 B
/** * Lets a stack navigator clear its own guarded routes from history, based on the guard context. */ export declare function useClearGuardedRoutes(removeRoutesFromState: (routeNames: string[]) => void): void;