import { type ReactElement, type ReactNode } from 'react'; import { NativeTabsTriggerTabBar } from './NativeTabsTriggerTabBar'; import type { ExtendedNativeTabOptions, NativeTabTriggerProps } from './types'; import { type IconProps } from '../common/elements'; /** * The component used to customize the native tab options both in the _layout file and from the tab screen. * * When used in the _layout file, you need to provide a `name` prop. * When used in the tab screen, the `name` prop takes no effect. * * @example * ```tsx * // In _layout file * import { NativeTabs } from 'expo-router/unstable-native-tabs'; * * export default function Layout() { * return ( * * * * * ); * } * ``` * * @example * ```tsx * // In a tab screen * import { NativeTabs } from 'expo-router/unstable-native-tabs'; * * export default function HomeScreen() { * return ( * * * * * This is home screen! * * ); * } * ``` * * > **Note:** You can use the alias `NativeTabs.Trigger` for this component. */ declare function NativeTabTriggerImpl(props: NativeTabTriggerProps): null; export declare const NativeTabTrigger: typeof NativeTabTriggerImpl & { TabBar: typeof NativeTabsTriggerTabBar; }; export declare function convertTabPropsToOptions({ options, hidden, children, role, disablePopToTop, disableScrollToTop }: NativeTabTriggerProps, isDynamic?: boolean): ExtendedNativeTabOptions; export declare function appendIconOptions(options: ExtendedNativeTabOptions, props: IconProps): void; export declare function isNativeTabTrigger(child: ReactNode, contextKey?: string): child is ReactElement; export {}; //# sourceMappingURL=NativeTabTrigger.d.ts.map