UNPKG

780 BTypeScriptView Raw
1import * as React from 'react';
2import { type StyleProp, type ViewStyle } from 'react-native';
3import type { LocaleDirection, NavigationState, Route, SceneRendererProps } from './types';
4export type GetTabWidth = (index: number) => number;
5export type Props<T extends Route> = SceneRendererProps & {
6 navigationState: NavigationState<T>;
7 width: 'auto' | `${number}%` | number;
8 getTabWidth: GetTabWidth;
9 direction: LocaleDirection;
10 style?: StyleProp<ViewStyle>;
11 gap?: number;
12 children?: React.ReactNode;
13};
14export declare function TabBarIndicator<T extends Route>({ getTabWidth, layout, navigationState, position, width, direction, gap, style, children, }: Props<T>): import("react/jsx-runtime").JSX.Element;
15//# sourceMappingURL=TabBarIndicator.d.ts.map
\No newline at end of file