UNPKG

expo-router

Version:

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

25 lines • 734 B
import type { NativeTabsProps } from './types'; /** * The component used to create native tabs layout. * * @example * ```tsx * // In _layout file * import { NativeTabs } from 'expo-router/unstable-native-tabs'; * * export default function Layout() { * return ( * <NativeTabs> * <NativeTabs.Trigger name="home" /> * <NativeTabs.Trigger name="settings" /> * </NativeTabs> * ); * } * ``` */ export declare const NativeTabs: ((props: NativeTabsProps) => import("react").JSX.Element) & { Trigger: ((props: import("./types").NativeTabTriggerProps) => null) & { TabBar: typeof import("./NativeTabsTriggerTabBar").NativeTabsTriggerTabBar; }; }; //# sourceMappingURL=NativeTabs.d.ts.map