UNPKG

expo-router

Version:

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

13 lines (12 loc) • 554 B
import type { PlatformIconAndroid, PlatformIconIOS } from 'react-native-screens'; import type { SrcIcon } from '../common/elements'; import type { NativeTabOptions } from '../types'; export type ScreensPropsIcon = { platform: 'ios'; icon: PlatformIconIOS; } | { platform: 'android'; icon: PlatformIconAndroid; }; export declare function applyIconSrcOptions(options: NativeTabOptions, props: SrcIcon): void; export declare function applySelectedColor(options: NativeTabOptions, selectedColor: NativeTabOptions['selectedIconColor']): void;