UNPKG

expo-router

Version:

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

7 lines (6 loc) • 251 B
import type { DrawerStatus } from '../../native'; /** * Hook to detect the drawer's status in a parent navigator. * Returns 'open' if the drawer is open, 'closed' if the drawer is closed. */ export declare function useDrawerStatus(): DrawerStatus;