1 | import { ParamListBase, TabNavigationState } from '@react-navigation/native';
|
2 | import { Animated, StyleProp, ViewStyle } from 'react-native';
|
3 | import { EdgeInsets } from 'react-native-safe-area-context';
|
4 | import type { BottomTabBarProps, BottomTabDescriptorMap } from '../types';
|
5 | type Props = BottomTabBarProps & {
|
6 | style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
|
7 | };
|
8 | type Options = {
|
9 | state: TabNavigationState<ParamListBase>;
|
10 | descriptors: BottomTabDescriptorMap;
|
11 | layout: {
|
12 | height: number;
|
13 | width: number;
|
14 | };
|
15 | dimensions: {
|
16 | height: number;
|
17 | width: number;
|
18 | };
|
19 | };
|
20 | export declare const getTabBarHeight: ({ state, descriptors, dimensions, insets, style, ...rest }: Options & {
|
21 | insets: EdgeInsets;
|
22 | style: Animated.WithAnimatedValue<StyleProp<ViewStyle>> | undefined;
|
23 | }) => number;
|
24 | export default function BottomTabBar({ state, navigation, descriptors, insets, style, }: Props): JSX.Element;
|
25 | export {};
|
26 |
|
\ | No newline at end of file |