UNPKG

@react-navigation/bottom-tabs

Version:

Bottom tab navigator following iOS design guidelines

22 lines 986 B
import { type ParamListBase, type TabNavigationState } from '@react-navigation/native'; import { Animated, type StyleProp, type ViewStyle } from 'react-native'; import { type EdgeInsets } from 'react-native-safe-area-context'; import type { BottomTabBarProps, BottomTabDescriptorMap } from '../types'; type Props = BottomTabBarProps & { style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>; }; type Options = { state: TabNavigationState<ParamListBase>; descriptors: BottomTabDescriptorMap; dimensions: { height: number; width: number; }; }; export declare const getTabBarHeight: ({ state, descriptors, dimensions, insets, style, }: Options & { insets: EdgeInsets; style: Animated.WithAnimatedValue<StyleProp<ViewStyle>> | undefined; }) => number; export declare function BottomTabBar({ state, navigation, descriptors, insets, style, }: Props): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=BottomTabBar.d.ts.map