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