UNPKG

expo-router

Version:

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

11 lines (10 loc) • 741 B
import type { ColorValue } from 'react-native'; import type { NativeTabsTriggerIconProps } from '../common/elements'; import type { IconRenderingMode, NativeTabOptions } from '../types'; import type { AwaitedIcon } from './icon'; import { type ScreensPropsIcon } from './optionsIconConverter.shared'; export declare function appendIconOptions(options: NativeTabOptions, props: NativeTabsTriggerIconProps): void; export declare function resolveIconRenderingMode(icon: AwaitedIcon | undefined, iconColor?: ColorValue): IconRenderingMode | undefined; export declare function convertOptionsIconToScreensPropsIcon(icon: AwaitedIcon | undefined, renderingMode?: IconRenderingMode): Extract<ScreensPropsIcon, { platform: 'ios'; }> | undefined;