expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
10 lines (9 loc) • 615 B
TypeScript
import type { ReactNode } from 'react';
import type { NativeStackNavigationOptions } from '../../../react-navigation/native-stack';
import type { ToolbarColors, ToolbarPlacement } from './context';
/**
* Default/web noop. On iOS, the `.ios.tsx` variant converts children to
* `unstable_headerLeftItems`/`unstable_headerRightItems`. On Android, the
* `.android.tsx` variant renders native Compose components via `headerLeft`/`headerRight`.
*/
export declare function processHeaderItemsForPlatform(_children: ReactNode, _placement: ToolbarPlacement, _colors?: ToolbarColors): NativeStackNavigationOptions | null;