UNPKG

expo-router

Version:

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

9 lines (8 loc) • 588 B
import { type ReactElement } from 'react'; import type { TabsBottomAccessoryComponentFactory } from 'react-native-screens'; import type { NativeTabsBottomAccessoryProps } from '../common/elements'; /** * Converts `<NativeTabs.BottomAccessory>` component into a function, * which can be used by `react-native-screens` to render the accessory. */ export declare function useBottomAccessoryFunctionFromBottomAccessories(bottomAccessory: ReactElement<NativeTabsBottomAccessoryProps, string | React.JSXElementConstructor<any>> | undefined): TabsBottomAccessoryComponentFactory | undefined;