UNPKG

expo-router

Version:

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

10 lines (9 loc) • 617 B
import { type ReactNode } from 'react'; import type { NativeStackNavigationOptions } from '../../../react-navigation/native-stack'; import { type ToolbarColors, type ToolbarPlacement } from './context'; /** * On Android, renders toolbar children as native Compose components inside `headerLeft`/`headerRight`. * This bridges the gap since Android's react-native-screens doesn't support * `unstable_headerLeftItems`/`unstable_headerRightItems`. */ export declare function processHeaderItemsForPlatform(children: ReactNode, placement: ToolbarPlacement, colors?: ToolbarColors): NativeStackNavigationOptions | null;