expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
14 lines (13 loc) • 933 B
TypeScript
/**
* TypeScript / non-native fallback. The real per-platform implementations live
* in `optionsIconConverter.ios.ts` and `optionsIconConverter.android.ts`, which
* Metro resolves at runtime via platform extensions.
*/
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 convertOptionsIconToScreensPropsIcon(_icon: AwaitedIcon | undefined, _renderingMode?: IconRenderingMode): ScreensPropsIcon | undefined;
export declare function resolveIconRenderingMode(_icon: AwaitedIcon | undefined, _iconColor?: ColorValue): IconRenderingMode | undefined;